decord/source/4688_isSearchBarAvailableForCurrentPlatform.js
2026-08-24 06:08:38 +00:00

27 lines
962 B
JavaScript

// Module ID: 4688
// Function ID: 4689
// Name: isSearchBarAvailableForCurrentPlatform
// Dependencies: [17]
// Exports: executeNativeBackPress, parseBooleanToOptionalBooleanNativeProp
// Module 4688 (isSearchBarAvailableForCurrentPlatform)
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
({ BackHandler: c0, Platform } = get_ActivityIndicator);
const items = ["ios", "android"];
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";
}
}