Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,57 @@
|
||||
/* Metro module 11260; source: modules/navbars/native/components/AnnouncementChannelLurkerBar.tsx; dependencies: [31, 27, 33, 4501, 697, 4573, 1244, 4578, 11261, 2] */
|
||||
function _fun86036(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#86036, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11446:6, offset: 0x01f853b6, size: 266 bytes, params: 8, frame: 21
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
const env0_2 = (require(27) /* metro dependency 27 */).View;
|
||||
let value = require(33) /* metro dependency 33 */;
|
||||
const env0_3 = value.jsx;
|
||||
const env0_4 = value.jsxs;
|
||||
value = require(4501) /* metro dependency 4501: createStyles */;
|
||||
const createStyles = value.createStyles;
|
||||
const BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH;
|
||||
const env0_5 = Reflect.apply(createStyles, value, [{wrapper: {'backgroundColor': null, 'padding': 16,
|
||||
'paddingTop': 8, backgroundColor: BACKGROUND_SURFACE_HIGH}, text: {'textAlign': 'center', 'marginBottom': 8}}]);
|
||||
const closure = AnnouncementChannelLurkerBar;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/navbars/native/components/AnnouncementChannelLurkerBar.tsx');
|
||||
exports.default = closure;
|
||||
exports.AnnouncementChannelLurkerBar = closure;
|
||||
}
|
||||
|
||||
function AnnouncementChannelLurkerBar({channel}) { // fn#86037, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11446:331, offset: 0x01f854c0, size: 284 bytes, params: 2, frame: 23
|
||||
const styles = useStyles();
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
const string = intl.string;
|
||||
const Hl0Mqh = (require(1244) /* metro dependency 1244: indexNative */).t.Hl0Mqh;
|
||||
const text = <Text style={styles.text} variant="text-sm/medium" color="mobile-text-heading-primary">{Reflect.apply(string,
|
||||
intl, [Hl0Mqh])}</Text>;
|
||||
const Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button;
|
||||
return (
|
||||
<View style={styles.wrapper}>
|
||||
{text}
|
||||
<Button
|
||||
onPress={onPress_86038}
|
||||
text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['4z5PU1'])}
|
||||
size="sm"
|
||||
variant="secondary"
|
||||
grow
|
||||
/>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
function AnnouncementChannelLurkerBarOnPress() { // fn#86038, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11446:560, owner: AnnouncementChannelLurkerBar.onPress, offset: 0x01f855dc, size: 69 bytes, params: 1, frame: 14
|
||||
var value2;
|
||||
const channelBinding = channel;
|
||||
const id = channelBinding.id;
|
||||
const guildId = channelBinding.getGuildId();
|
||||
if (guildId != null) {
|
||||
value2 = environment.__proto__;
|
||||
(require(11261) /* metro dependency 11261: showChannelFollowingActionSheet */).showChannelFollowingActionSheet(id,
|
||||
|
||||
guildId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user