Files
discord-decomp/sources/by-id/module-04522.js
T
2026-07-28 01:06:53 +03:00

28 lines
1.2 KiB
JavaScript

/* Metro module 4522; source: unknown; dependencies: [27] */
import * as ReactNativeModule from './module-00027-ReactNative.js'; /* Metro dependency 27 */
function _fun38610(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38610, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4700:6, offset: 0x010c5193, size: 134 bytes, params: 8, frame: 16
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
ReactNativeModule.Platform;
exports.isSearchBarAvailableForCurrentPlatform = ['ios', 'android'].includes('android');
exports.isHeaderBarButtonsAvailableForCurrentPlatform = false;
exports.executeNativeBackPress = function() {
BackHandler.exitApp();
return true;
};
exports.parseBooleanToOptionalBooleanNativeProp = function(a0) {
if (a0 === undefined) {
return 'undefined';
}
if (a0 === true) {
return 'true';
}
if (a0 === false) {
return 'false';
}
};
}
global.__d(_fun38610, 4522, [27]) /* metro module 4522, dependencies: [27] */;