Files
discord-decomp/_bundle/Module4548.js
T
2026-11-01 12:12:55 +02:00

21 lines
546 B
JavaScript

// Metro module 4548 (f4549).
import { BackHandler, Platform } from "react-native";
Platform;
export const isSearchBarAvailableForCurrentPlatform = ["ios", "android"].includes("android");
export const isHeaderBarButtonsAvailableForCurrentPlatform = false;
export function executeNativeBackPress() {
BackHandler.exitApp();
return true;
}
export function parseBooleanToOptionalBooleanNativeProp(a0) {
if (a0 === void 0) {
return "undefined";
}
if (a0 === true) {
return "true";
}
if (a0 === false) {
return "false";
}
}