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

31 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 14148
// Function ID: 14149
2026-07-20 16:05:17 +00:00
// Name: UserSettingsWebAuthn
2026-08-24 06:08:38 +00:00
// Dependencies: [19, 14146, 21, 14149, 6343, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 14148 (UserSettingsWebAuthn)
import closure_2 from "noop" /* 19 */;
import { WebAuthnScreens } from "WebAuthnScreens" /* 14146 */;
import { jsx } from "jsxProd" /* 21 */;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("modules/webauthn/native/UserSettingsWebAuthn.tsx");
2026-07-20 16:05:17 +00:00
export default function UserSettingsWebAuthn(showNav) {
2026-07-23 10:11:24 +00:00
({ 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
};