decord/alpha/source/modules/webauthn/native/UserSettingsWebAuthn.tsx
github-actions e160b228c5 chore: update source for alpha 348.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4942.js (118.4 MB)
2026-09-22 07:41:18 +00:00

35 lines
1.2 KiB
TypeScript

// Module ID: 14942
// Function ID: 14943
// Name: UserSettingsWebAuthn
// Dependencies: [19, 14940, 21, 14943, 7247, 2]
// Exports: default
// Module 14942 (UserSettingsWebAuthn)
import Navigator from "Navigator" /* 7247 */;
import WebAuthnScreens2 from "WebAuthnScreens" /* 14943 */;
import noop from "module_19" /* 19 */;
require = fn;
const WebAuthnScreens = fn(14940).WebAuthnScreens;
const jsx = fn(21).jsx;
const size = fn(2);
const result = size.fileFinishedImporting("modules/webauthn/native/UserSettingsWebAuthn.tsx");
export default function UserSettingsWebAuthn(showNav) {
({ navigation: require, initialRouteName } = showNav);
if (initialRouteName === undefined) {
initialRouteName = WebAuthnScreens.INIT;
}
let flag = showNav.showNav;
if (flag === undefined) {
flag = false;
}
const screens = WebAuthnScreens2.getScreens({ isModal: false });
const layoutEffect = noop.useLayoutEffect(() => {
options.setOptions({ headerShown: flag });
});
const obj2 = { screens, initialRouteName, initialRouteStack: null, useContainer: false };
const items = [{ name: initialRouteName }];
obj2.initialRouteStack = items;
return jsx(Navigator.Navigator, { screens, initialRouteName, initialRouteStack: null, useContainer: false });
};