decord/source/4703_isSearchBarAvailableForCurrentPlatform.js

30 lines
975 B
JavaScript
Raw Normal View History

2026-08-13 07:00:46 +00:00
// Module ID: 4703
// Function ID: 4704
2026-07-20 16:05:17 +00:00
// Name: isSearchBarAvailableForCurrentPlatform
2026-07-29 08:29:29 +00:00
// Dependencies: [17]
2026-07-20 16:05:17 +00:00
// Exports: executeNativeBackPress, parseBooleanToOptionalBooleanNativeProp
2026-08-13 07:00:46 +00:00
// Module 4703 (isSearchBarAvailableForCurrentPlatform)
2026-07-23 10:11:24 +00:00
import get_ActivityIndicator from "get ActivityIndicator";
2026-07-20 16:05:17 +00:00
let Platform;
2026-07-29 08:29:29 +00:00
let c0;
({ BackHandler: c0, Platform } = get_ActivityIndicator);
2026-07-23 10:11:24 +00:00
const items = ["ios", "android"];
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";
}
}