37 lines
2.7 KiB
TypeScript
37 lines
2.7 KiB
TypeScript
/* Metro module 11096; source: modules/media_keyboard/native/showMediaKeyboardActionSheet.tsx; dependencies: [27, 4080, 11097, 1962, 2] */
|
|
import ActionSheetActionCreators from '../../action_sheet/native/ActionSheetActionCreators.tsx'; /* Metro dependency 4080 */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ReactNativeModule from '../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
|
|
|
|
function _fun85002(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#85002, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11282:6, offset: 0x01f5fe18, size: 150 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/media_keyboard/native/showMediaKeyboardActionSheet.tsx');
|
|
exports.hideMediaKeyboardActionSheet = hideMediaKeyboardActionSheet;
|
|
exports.showMediaKeyboardActionSheet = showMediaKeyboardActionSheet;
|
|
exports.presentLimitedLibraryPicker = presentLimitedLibraryPicker;
|
|
function hideMediaKeyboardActionSheet() { // fn#85003, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11282:279, offset: 0x01f5feae, size: 44 bytes, params: 1, frame: 12
|
|
(ActionSheetActionCreators).hideActionSheet('MEDIA_KEYBOARD_ACTION_SHEET');
|
|
}
|
|
|
|
function showMediaKeyboardActionSheet(a0) { // fn#85004, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11282:378, offset: 0x01f5feda, size: 83 bytes, params: 2, frame: 16
|
|
const defaultImport = importDefault(dependencyMap[1]);
|
|
const openLazy = defaultImport.openLazy;
|
|
let value = require(dependencyMap[3]);
|
|
value = value(dependencyMap[2], dependencyMap.paths);
|
|
Reflect.apply(openLazy, defaultImport, [value, 'MEDIA_KEYBOARD_ACTION_SHEET', a0]);
|
|
}
|
|
|
|
function presentLimitedLibraryPicker() { // fn#85005, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11282:494, offset: 0x01f5ff2d, size: 72 bytes, params: 1, frame: 12
|
|
const NativePermissionManager = NativeModules.NativePermissionManager;
|
|
let r0 = NativePermissionManager == null || NativePermissionManager.presentLimitedLibraryPicker == null ? undefined : NativePermissionManager.presentLimitedLibraryPicker();
|
|
r0 = r0 ?? global.Promise.resolve();
|
|
return r0;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun85002, 11096, [27, 4080, 11097, 1962,
|
|
2]) /* metro module 11096, dependencies: [27, 4080, 11097, 1962, 2] */;
|