Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
51 lines
1.9 KiB
TypeScript
51 lines
1.9 KiB
TypeScript
// Module ID: 11457
|
|
// Function ID: 11458
|
|
// Name: AnnouncementChannelLurkerBar
|
|
// Dependencies: [19, 17, 21, 4636, 576, 4632, 1114, 5056, 11458, 2]
|
|
|
|
// Module 11457 (AnnouncementChannelLurkerBar)
|
|
import nativeDefault from "native" /* 576 */;
|
|
import showChannelFollowingActionSheet from "showChannelFollowingActionSheet" /* 11458 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
require = fn;
|
|
class AnnouncementChannelLurkerBar {
|
|
constructor(arg0) {
|
|
channel = global.channel;
|
|
tmp = closure_5();
|
|
obj = { style: tmp.wrapper, children: null };
|
|
obj1 = { style: tmp.text, variant: "text-sm/medium", color: "mobile-text-heading-primary", children: null };
|
|
intl = channel(closure_1[6]).intl;
|
|
obj1.children = intl.string(channel(closure_1[6]).t.Hl0Mqh);
|
|
items = [, ];
|
|
items[0] = jsx(channel(closure_1[5]).Text, obj1);
|
|
obj4 = {
|
|
onPress() {
|
|
const guildId = channel.getGuildId();
|
|
if (null != guildId) {
|
|
const result = showChannelFollowingActionSheet.showChannelFollowingActionSheet(channel.id, guildId);
|
|
}
|
|
},
|
|
text: null,
|
|
size: "sm",
|
|
variant: "secondary",
|
|
grow: true
|
|
};
|
|
intl2 = channel(closure_1[6]).intl;
|
|
obj4.text = intl2.string(channel(closure_1[6]).t["4z5PU1"]);
|
|
items[1] = jsx(channel(closure_1[7]).Button, obj4);
|
|
obj.children = items;
|
|
return jsxs(View, obj);
|
|
}
|
|
}
|
|
const View = fn(17).View;
|
|
const jsxProd = fn(21);
|
|
({ jsx: c3, jsxs: closure_4 } = jsxProd);
|
|
const createStyles = fn(4636);
|
|
let obj2 = { wrapper: { backgroundColor: nativeDefault.colors.BACKGROUND_SURFACE_HIGH, padding: 16, paddingTop: 8 }, text: { textAlign: "center", marginBottom: 8 } };
|
|
const hasOwnProperty = createStyles.createStyles(obj2);
|
|
const size = fn(2);
|
|
let result = size.fileFinishedImporting("modules/navbars/native/components/AnnouncementChannelLurkerBar.tsx");
|
|
|
|
export default AnnouncementChannelLurkerBar;
|
|
export { AnnouncementChannelLurkerBar };
|