24 lines
953 B
TypeScript
24 lines
953 B
TypeScript
// Metro module 9673 (f9674).
|
|
import { NativeModules } from "react-native";
|
|
import ActionSheetActionCreators from "../../action_sheet/native/ActionSheetActionCreators";
|
|
let c6399_4 = "MEDIA_KEYBOARD_ACTION_SHEET";
|
|
export function hideMediaKeyboardActionSheet() {
|
|
ActionSheetActionCreators.hideActionSheet(c6399_4);
|
|
}
|
|
export function showMediaKeyboardActionSheet(a0) {
|
|
ActionSheetActionCreators.openLazy(import("./components/MediaKeyboardActionSheet"), c6399_4, a0);
|
|
}
|
|
export function presentLimitedLibraryPicker() {
|
|
const NativePermissionManager = NativeModules.NativePermissionManager;
|
|
const r2 = NativePermissionManager == null;
|
|
let r7 = void 0;
|
|
if (!r2) {
|
|
const presentLimitedLibraryPicker2 = NativePermissionManager.presentLimitedLibraryPicker;
|
|
r7 = presentLimitedLibraryPicker2 == null ? void 0 : presentLimitedLibraryPicker2.call(NativePermissionManager);
|
|
}
|
|
if (r7 == null) {
|
|
r7 = Promise.resolve();
|
|
}
|
|
return r7;
|
|
}
|