43 lines
2.7 KiB
TypeScript
43 lines
2.7 KiB
TypeScript
/* Metro module 7636; source: modules/billing/native/UnsupportedFeatureModal.tsx; dependencies: [31, 27, 33, 5280, 5282, 5080, 4573, 1244, 2] */
|
|
function _fun61154(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#61154, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7814:6, offset: 0x0171c108, size: 157 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
importAll(31) /* metro dependency 31 */;
|
|
const env0_3 = (require(27) /* metro dependency 27 */).View;
|
|
const env0_4 = (require(33) /* metro dependency 33 */).jsx;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/billing/native/UnsupportedFeatureModal.tsx');
|
|
exports.default = UnsupportedFeatureModal;
|
|
}
|
|
|
|
function UnsupportedFeatureModal({title, onDismiss}) { // fn#61155, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7814:227, offset: 0x0171c1a5, size: 135 bytes, params: 2, frame: 19
|
|
const Navigator = (require(5280) /* metro dependency 5280: NavigatorNative */).Navigator;
|
|
const object = {title: title};
|
|
object.headerLeft = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderCloseButton(_fun61156);
|
|
object.render = render_61157;
|
|
return <Navigator initialRouteName="Unsupported" screens={{Unsupported: object}} />;
|
|
}
|
|
|
|
function _fun61156() { // fn#61156, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7814:413, offset: 0x0171c22c, size: 58 bytes, params: 1, frame: 12
|
|
const value = environment.__proto__;
|
|
(importDefault(5080) /* metro dependency 5080: ModalActionCreators */).pop();
|
|
if (onDismiss != null) {
|
|
onDismiss();
|
|
}
|
|
}
|
|
|
|
function UnsupportedFeatureModalRender() { // fn#61157, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7814:455, owner: UnsupportedFeatureModal.render, offset: 0x0171c266, size: 143 bytes, params: 1, frame: 20
|
|
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
const string = intl.string;
|
|
const I22zuX = (require(1244) /* metro dependency 1244: indexNative */).t.I22zuX;
|
|
return (
|
|
<View style={{'flex': 1, 'alignItems': 'center', 'justifyContent': 'center', 'padding': 24}}>
|
|
<Text variant="text-lg/normal" color="text-default">
|
|
{Reflect.apply(string, intl, [I22zuX])}
|
|
</Text>
|
|
</View>
|
|
);
|
|
}
|
|
|