Files
discord-decomp/sources/modules/app_launcher/native/AppLauncherNativeConstants.tsx
T
2026-07-27 16:20:00 +03:00

29 lines
2.0 KiB
TypeScript

/* Metro module 1483; source: modules/app_launcher/native/AppLauncherNativeConstants.tsx; dependencies: [1484, 697, 2, 1579] */
function _fun16988(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#16988, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1610:6, offset: 0x00e60df9, size: 295 bytes, params: 8, frame: 22
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const object = {NONE: 0};
object[0] = 'NONE';
object.FIRST_REQUIRED_OPTION = 1;
object[1] = 'FIRST_REQUIRED_OPTION';
object.OPTIONAL_OPTION_ADDED = 2;
object[2] = 'OPTIONAL_OPTION_ADDED';
const PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
const MOBILE_KEYBOARD_PANEL_BACKGROUND = (importDefault(697) /* metro dependency 697: native */).colors.MOBILE_KEYBOARD_PANEL_BACKGROUND;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/app_launcher/native/AppLauncherNativeConstants.tsx');
exports.APP_LAUNCHER_BUILT_IN_SECTION_ICON = importDefault(1579) /* metro dependency 1579 */;
exports.AppLauncherRouteName = {HOME: 'home', APPLICATION_VIEW: 'application_view', COMMAND_VIEW: 'command_view',
APP_LIST_VIEW: 'app_list_view'};
exports.useAppLauncherNavigation = useAppLauncherNavigation;
exports.AppLauncherOptionAutoFocusType = object;
exports.DEFAULT_CONTENT_PADDING = PX_16;
exports.SCREEN_BACKGROUND_COLOR = MOBILE_KEYBOARD_PANEL_BACKGROUND;
exports.FLASH_LIST_ITEM_IMPRESSION_VIEWABILITY_CONFIG = {'itemVisiblePercentThreshold': 50, 'minimumViewTime': 1000};
}
function useAppLauncherNavigation() { // fn#16989, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1610:656, offset: 0x00e60f20, size: 36 bytes, params: 1, frame: 11
return (require(1484) /* metro dependency 1484: useNavigationNative */).useNativeStackNavigation();
}