decord/source/modules/webauthn/native/UserSettingsWebAuthn.tsx

33 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 13754
// Function ID: 13755
2026-07-20 16:05:17 +00:00
// Name: UserSettingsWebAuthn
2026-07-29 08:29:29 +00:00
// Dependencies: [19, 13752, 21, 13755, 5570, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-29 08:29:29 +00:00
// Module 13754 (UserSettingsWebAuthn)
import noop from "noop";
2026-07-23 10:11:24 +00:00
import { WebAuthnScreens } from "WebAuthnScreens";
import { jsx } from "jsxProd";
const require = arg1;
const result = require("jsxProd").fileFinishedImporting("modules/webauthn/native/UserSettingsWebAuthn.tsx");
2026-07-20 16:05:17 +00:00
export default function UserSettingsWebAuthn(showNav) {
let initialRouteName;
2026-07-23 10:11:24 +00:00
let require;
({ navigation: require, initialRouteName } = showNav);
2026-07-20 16:05:17 +00:00
if (initialRouteName === undefined) {
initialRouteName = WebAuthnScreens.INIT;
}
let flag = showNav.showNav;
if (flag === undefined) {
flag = false;
}
2026-07-29 08:29:29 +00:00
const screens = require(flag[3]).getScreens({ isModal: false });
2026-07-20 16:05:17 +00:00
const layoutEffect = React.useLayoutEffect(() => {
options.setOptions({ headerShown: flag });
});
2026-07-29 08:29:29 +00:00
const initialRouteStack = [{ name: initialRouteName }];
return jsx(require(flag[4]).Navigator, { screens, initialRouteName, initialRouteStack, useContainer: false });
2026-07-20 16:05:17 +00:00
};