47 lines
2.8 KiB
TypeScript
47 lines
2.8 KiB
TypeScript
/* Metro module 16211; source: modules/safety_flows/native/UpdateAppScreen.tsx; dependencies: [27, 33, 4501, 697, 4573, 1244, 2486, 4578, 2] */
|
|
function _fun125275(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#125275, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16419:6, offset: 0x025d32f5, size: 265 bytes, params: 8, frame: 22
|
|
var object2;
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = require(27) /* metro dependency 27 */;
|
|
const env0_3 = value.NativeModules;
|
|
const env0_4 = value.View;
|
|
value = require(33) /* metro dependency 33 */;
|
|
const env0_5 = value.jsx;
|
|
const env0_6 = value.jsxs;
|
|
value = require(4501) /* metro dependency 4501: createStyles */;
|
|
const createStyles = value.createStyles;
|
|
object2 = {};
|
|
let PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8;
|
|
object2.container = {'flexDirection': 'column', 'justifyContent': 'center', gap: PX_8};
|
|
PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8;
|
|
object2.buttonContainer = {marginTop: PX_8};
|
|
const env0_7 = Reflect.apply(createStyles, value, [object2]);
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/safety_flows/native/UpdateAppScreen.tsx');
|
|
exports.default = UpdateAppScreen;
|
|
}
|
|
|
|
function UpdateAppScreen() { // fn#125276, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16419:406, offset: 0x025d33fe, size: 362 bytes, params: 1, frame: 26
|
|
const styles = useStyles();
|
|
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
let string = intl.string;
|
|
const items2 = [<Text variant="heading-lg/semibold">{Reflect.apply(string, intl,
|
|
[(importDefault(2486) /* metro dependency 2486: SafetyFlowsMessages */).yxqMCD])}</Text>];
|
|
string = intl.string;
|
|
const VBZJJg = (importDefault(2486) /* metro dependency 2486: SafetyFlowsMessages */).VBZJJg;
|
|
items2[1] = <Text variant="text-md/normal" color="text-muted">{Reflect.apply(string, intl, [VBZJJg])}</Text>;
|
|
const Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button;
|
|
items2[2] = <View style={styles.buttonContainer}><Button onPress={function() {
|
|
var BundleUpdaterManager = NativeModules.BundleUpdaterManager;
|
|
BundleUpdaterManager.reload();
|
|
}} text={intl.string((importDefault(2486) /* metro dependency 2486: SafetyFlowsMessages */).o4D6fm)} variant="primary" size="md" /></View>;
|
|
return (
|
|
<View style={styles.container}>
|
|
{items2}
|
|
</View>
|
|
);
|
|
}
|
|
|