decord/source/4486_isSearchBarAvailableForCurrentPlatform.js

28 lines
970 B
JavaScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 4486
// Function ID: 39580
2026-07-20 16:05:17 +00:00
// Name: isSearchBarAvailableForCurrentPlatform
// Dependencies: []
// Exports: executeNativeBackPress, parseBooleanToOptionalBooleanNativeProp
2026-07-21 06:55:02 +00:00
// Module 4486 (isSearchBarAvailableForCurrentPlatform)
2026-07-20 16:05:17 +00:00
let Platform;
const _module = require(dependencyMap[0]);
({ BackHandler: closure_0, Platform } = _module);
2026-07-21 06:55:02 +00:00
const items = ["<string:1644749393>", "<string:2622564565>"];
2026-07-20 16:05:17 +00:00
export const isSearchBarAvailableForCurrentPlatform = items.includes("android");
export const isHeaderBarButtonsAvailableForCurrentPlatform = false;
export const executeNativeBackPress = function executeNativeBackPress() {
closure_0.exitApp();
return true;
};
export function parseBooleanToOptionalBooleanNativeProp(fullScreenSwipeEnabled) {
if (undefined === fullScreenSwipeEnabled) {
return "undefined";
} else if (true === fullScreenSwipeEnabled) {
return "true";
} else if (false === fullScreenSwipeEnabled) {
return "false";
}
}