Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

@@ -0,0 +1,323 @@
/* Metro module 15095; source: modules/threads/native/components/redesign/ThreadList.tsx; dependencies: [31, 27, 33, 4501, 4573, 15096, 4017, 4508, 4577, 4581, 12057, 1388, 1390, 1244, 6238, 7975, 11757, 15098, 15099, 8416, 2] */
function _fun114198(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#114198, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15292:6, offset: 0x024173df, size: 439 bytes, params: 8, frame: 20
const env0_0 = require;
const keyExtractor_114201 = function(a0) {
var type = a0.type;
if (type === 'section') {
return a0.title;
}
if (type === 'thread') {
return a0.threadId;
}
};
const getThreadListStateKey = function(a0) {
return a0;
};
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const value = require(27) /* metro dependency 27 */;
const env0_4 = value.StyleSheet;
const env0_5 = value.View;
const env0_6 = (require(33) /* metro dependency 33 */).jsx;
const env0_7 = (require(4501) /* metro dependency 4501: createStyles */).createStyles({container: {'flex': 1,
'flexGrow': 1}, center: {'justifyContent': 'center', 'alignItems': 'center'}, header: {'marginTop': 24,
'marginBottom': 10}, footer: {'marginVertical': 16, 'justifyContent': 'center', 'alignItems': 'center'},
section: {'marginTop': 16, 'marginBottom': 8}});
const Set = global.Set;
const set = new Set();
object = {code: "function ThreadListTsx1(){const{withSpring,opacity,springStandard,state,TransitionStates,runOnJS,cleanUp}=this.__closure;return{opacity:withSpring(opacity.get(),springStandard,'respect-motion-settings',function(finished){if(finished&&state===TransitionStates.YEETED){runOnJS(cleanUp)();}})};}"};
object = {code: 'function ThreadListTsx2(finished){const{state,TransitionStates,runOnJS,cleanUp}=this.__closure;if(finished&&state===TransitionStates.YEETED){runOnJS(cleanUp)();}}'};
object = {LIST: 'list', EMPTY: 'empty', LOADING: 'loading'};
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/threads/native/components/redesign/ThreadList.tsx');
exports.default = ThreadList;
}
function ThreadListSection({title}) { // fn#114199, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15292:421, offset: 0x02417596, size: 98 bytes, params: 2, frame: 16
const styles = useStyles();
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
return (
<Text
style={styles.section}
accessibilityRole="header"
variant="text-xs/bold"
color="text-default"
>
{title.toUpperCase()}
</Text>
);
}
function renderItem_114200({item}) { // fn#114200, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15292:606, offset: 0x024175f8, size: 142 bytes, params: 2, frame: 15
const type = item.type;
if (type === 'section') {
return <ThreadListSection title={item.title} />;
}
if (type === 'thread') {
return ((Component) => <Component threadId={item.threadId} onPress={item.onPress} start={item.start} end={item.end} />)(importDefault(15096) /* metro dependency 15096: ThreadListTableRow */);
}
}
function EnterExitCrossFadeContainer({contentContainerStyle, cleanUp, state, children}) { // fn#114202, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15292:1389, offset: 0x024176b1, size: 396 bytes, params: 2, frame: 26
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useSharedValue = reanimatedRexportModule.useSharedValue;
const TransitionStates = (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionStates;
const MOUNTED = TransitionStates.MOUNTED;
const value4 = Reflect.apply(useSharedValue, reanimatedRexportModule, [state !== MOUNTED ? 0 : 1]);
const moduleValue2 = reanimatedRexportModule;
const useAnimatedStyle = moduleValue2.useAnimatedStyle;
const closure = EnterExitCrossFadeContainerP;
const object2 = {};
object2.withSpring = (require(4577) /* metro dependency 4577: spring */).withSpring;
object2.opacity = value4;
object2.springStandard = (require(4581) /* metro dependency 4581: springPresets */).springStandard;
object2.state = state;
object2.TransitionStates = TransitionStates;
object2.runOnJS = reanimatedRexportModule.runOnJS;
object2.cleanUp = cleanUp;
closure.__closure = object2;
closure.__workletHash = 5037750127944;
closure.__initData = env0_9;
const value5 = Reflect.apply(useAnimatedStyle, moduleValue2, [closure]);
env0_3.useEffect(_fun114205, [value4, state]);
const View2 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
return (
<View2 style={[StyleSheet.absoluteFill, value5]}>
<View style={contentContainerStyle}>
{children}
</View>
</View2>
);
}
function ThreadList({channel, onThreadPress, onCreateThreadPress, contentContainerStyle}) { // fn#114207, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15292:2528, offset: 0x024179b0, size: 525 bytes, params: 2, frame: 30
const styles = useStyles();
const env0_3 = styles;
const {joinedThreadIds,
unjoinedThreadIds} = (require(12057) /* metro dependency 12057: ThreadBrowserHooks */).useActiveThreads(channel);
const threadBrowserHooksModule = require(12057) /* metro dependency 12057: ThreadBrowserHooks */;
const useArchivedThreads = threadBrowserHooksModule.useArchivedThreads;
const ThreadSortOrder = (require(1388) /* metro dependency 1388: ThreadSortOrder */).ThreadSortOrder;
const LATEST_ACTIVITY = ThreadSortOrder.LATEST_ACTIVITY;
const binding = env0_8;
const ThreadSearchTagSetting = (require(1390) /* metro dependency 1390: ThreadSearchTagSetting */).ThreadSearchTagSetting;
const MATCH_SOME = ThreadSearchTagSetting.MATCH_SOME;
const {threadIds, canLoadMore, loadMore, loading} = Reflect.apply(useArchivedThreads, threadBrowserHooksModule,
[channel, LATEST_ACTIVITY, binding, MATCH_SOME]);
const value4 = env0_3.useCallback(function() {
if (!loading && canLoadMore) {
loadMore();
}
}, [loading, canLoadMore, loadMore]);
const value5 = env0_3.useMemo(_fun114209, [threadIds, joinedThreadIds, onThreadPress, unjoinedThreadIds]);
const value6 = env0_3.useMemo(_fun114213, [value5.length, loading]);
const value8 = env0_3.useCallback(_fun114215, [contentContainerStyle, value5, loading, onCreateThreadPress, value4,
styles.center, styles.container, styles.header, styles.footer, env0_3.useMemo(_fun114214,
[onCreateThreadPress])]);
const TransitionGroup = (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionGroup;
return (
<TransitionGroup
items={value6}
renderItem={value8}
getItemKey={getThreadListStateKey}
/>
);
}
function EnterExitCrossFadeContainerP() { // fn#114203, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15292:1586, owner: EnterExitCrossFadeContainer.p, offset: 0x0241783d, size: 195 bytes, params: 1, frame: 24
const springModule = require(4577) /* metro dependency 4577: spring */;
const withSpring = springModule.withSpring;
const value3 = env0_2.get();
const springStandard = (require(4581) /* metro dependency 4581: springPresets */).springStandard;
const closure = pT_114204;
const object = {};
object.state = state;
const TransitionStates = (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionStates;
object.TransitionStates = TransitionStates;
object.runOnJS = (require(4017) /* metro dependency 4017: ReanimatedRexport */).runOnJS;
object.cleanUp = cleanUp;
closure.__closure = object;
closure.__workletHash = 2519144051135;
closure.__initData = env1_10;
return {opacity: Reflect.apply(withSpring, springModule, [value3, springStandard, 'respect-motion-settings',
closure])};
}
function _fun114205() { // fn#114205, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15292:2158, offset: 0x0241796b, size: 69 bytes, params: 1, frame: 14
const binding = env0_2;
const set = binding.set;
const stateBinding = state;
const value = environment.__proto__;
const TransitionStates = (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionStates;
const YEETED = TransitionStates.YEETED;
Reflect.apply(set, binding, [stateBinding !== YEETED ? 1 : 0]);
}
function _fun114209() { // fn#114209, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15292:2937, offset: 0x02417bdf, size: 401 bytes, params: 1, frame: 21
var environment;
var push;
var value2;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
var formatToPlainString;
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
var fcXlhe;
var value3;
var GHY7yQ;
var value4;
const items2 = [];
if (joinedThreadIds.length > 0) {
push = items2.push;
value2 = environment.__proto__;
formatToPlainString = intl.formatToPlainString;
fcXlhe = t.fcXlhe;
joinedThreadIdsBinding = joinedThreadIds;
Reflect.apply(push, items2, [{type: 'section', title: Reflect.apply(formatToPlainString, intl, [fcXlhe,
{count: joinedThreadIdsBinding.length}])}]);
joinedThreadIdsBinding.forEach(_fun114210);
}
if (unjoinedThreadIds.length > 0) {
push = items2.push;
value3 = environment.__proto__;
formatToPlainString = intl.formatToPlainString;
GHY7yQ = t.GHY7yQ;
unjoinedThreadIdsBinding = unjoinedThreadIds;
Reflect.apply(push, items2, [{type: 'section', title: Reflect.apply(formatToPlainString, intl, [GHY7yQ,
{count: unjoinedThreadIdsBinding.length}])}]);
unjoinedThreadIdsBinding.forEach(_fun114211);
}
if (threadIds.length > 0) {
push = items2.push;
value4 = environment.__proto__;
Reflect.apply(push, items2, [{type: 'section', title: intl.string(t.XsgrjS)}]);
threadIds.forEach(_fun114212);
}
return items2;
}
function _fun114213() { // fn#114213, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15292:3589, offset: 0x02417e6f, size: 115 bytes, params: 1, frame: 3
return loading && env0_11.length === 0 ? [env1_11.LOADING] : env0_11.length === 0 ? [env1_11.EMPTY] : [env1_11.LIST];
}
function _fun114214() { // fn#114214, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15292:3681, offset: 0x02417ee2, size: 202 bytes, params: 1, frame: 21
var r0;
var value3;
var TableRow;
var object;
var intl;
const onCreateThreadPressBinding = onCreateThreadPress;
const value2 = null;
if (value2 != onCreateThreadPressBinding) {
value3 = environment.__proto__;
TableRow = (require(6238) /* metro dependency 6238: TableRowNative */).TableRow;
var tableRowProps = {'icon': null, 'onPress': null, 'label': null, 'start': true, 'end': true, 'arrow': true,
icon: ((Icon) => <Icon IconComponent={(require(11757) /* metro dependency 11757: ThreadPlusIcon */).ThreadPlusIcon} />)((require(7975) /* metro dependency 7975: RowButtonNative */).RowButton.Icon),
onPress: onCreateThreadPress};
intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
tableRowProps.label = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.rBIGBL);
r0 = <TableRow {...tableRowProps} />;
} else {
r0 = value2;
}
return r0;
}
function _fun114215(a0, a1, a2, a3) { // fn#114215, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15292:3897, offset: 0x02417fac, size: 544 bytes, params: 5, frame: 27
var object2;
var stylesBinding;
var value3;
var AnimatedFlashList;
var intl;
const value = environment.__proto__;
const EMPTY = env1_11.EMPTY;
if (EMPTY === a1) {
return (
<EnterExitCrossFadeContainer
contentContainerStyle={styles.container}
state={a2}
cleanUp={a3}
key={a0}
>
{((Component) => <Component onCreateThreadPress={onCreateThreadPress} />)(importDefault(15098) /* metro dependency 15098: ThreadListEmpty */)}
</EnterExitCrossFadeContainer>
);
}
const LOADING = env1_11.LOADING;
if (LOADING === a1) {
stylesBinding = styles;
return (
<EnterExitCrossFadeContainer
contentContainerStyle={[stylesBinding.container, stylesBinding.center]}
state={a2}
cleanUp={a3}
key={a0}
>
{((Component) => <Component />)(importDefault(15099) /* metro dependency 15099: ThreadListLoadingIndicator */)}
</EnterExitCrossFadeContainer>
);
}
const LIST = env1_11.LIST;
if (LIST === a1) {
object2 = {};
stylesBinding = styles;
object2.contentContainerStyle = stylesBinding.container;
object2.state = a2;
object2.cleanUp = a3;
value3 = undefined;
AnimatedFlashList = (require(8416) /* metro dependency 8416: flashList */).AnimatedFlashList;
var animatedFlashListProps = {data: env0_11, ListHeaderComponent: env0_12,
ListHeaderComponentStyle: stylesBinding.header, renderItem: renderItem_114200,
keyExtractor: keyExtractor_114201, onEndReached: env0_10, onEndReachedThreshold: 0.4};
intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
animatedFlashListProps.accessibilityLabel = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.B2panI);
animatedFlashListProps.estimatedItemSize = 64;
animatedFlashListProps.ListFooterComponent = loading ? importDefault(15099) /* metro dependency 15099: ThreadListLoadingIndicator */ : value3;
animatedFlashListProps.ListFooterComponentStyle = loading ? styles.footer : value3;
animatedFlashListProps.contentContainerStyle = contentContainerStyle;
return (
<EnterExitCrossFadeContainer {...object2} key={a0}>
<AnimatedFlashList {...animatedFlashListProps} />
</EnterExitCrossFadeContainer>
);
}
}
function pT_114204(a0) { // fn#114204, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15292:1685, owner: EnterExitCrossFadeContainer.p.t, offset: 0x02417900, size: 107 bytes, params: 2, frame: 13
var r0;
var stateBinding;
var runOnJS;
var value2;
let value = a0;
if (value) {
value = environment.__proto__;
stateBinding = state;
value = environment.__proto__.__proto__;
value = stateBinding === (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionStates.YEETED;
r0 = value;
} else {
r0 = value;
}
if (r0) {
value = environment.__proto__.__proto__;
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
runOnJS = value.runOnJS;
value2 = environment.__proto__;
Reflect.apply(runOnJS, value, [cleanUp])();
}
}
function _fun114210(a0, a1) { // fn#114210, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15292:3083, offset: 0x02417d70, size: 85 bytes, params: 3, frame: 15
return env0_0.push({type: 'thread', threadId: a0, start: a1 === 0, end: a1 === joinedThreadIds.length - 1,
onPress: onThreadPress});
}
function _fun114211(a0, a1) { // fn#114211, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15292:3294, offset: 0x02417dc5, size: 85 bytes, params: 3, frame: 15
return env0_0.push({type: 'thread', threadId: a0, start: a1 === 0, end: a1 === unjoinedThreadIds.length - 1,
onPress: onThreadPress});
}
function _fun114212(a0, a1) { // fn#114212, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15292:3475, offset: 0x02417e1a, size: 85 bytes, params: 3, frame: 15
return env0_0.push({type: 'thread', threadId: a0, start: a1 === 0, end: a1 === threadIds.length - 1,
onPress: onThreadPress});
}
@@ -0,0 +1,60 @@
/* Metro module 15098; source: modules/threads/native/components/redesign/ThreadListEmpty.tsx; dependencies: [31, 27, 33, 4501, 697, 1305, 11758, 4573, 1244, 4578, 2] */
function _fun114240(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#114240, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15295:6, offset: 0x0241910a, size: 325 bytes, params: 8, frame: 23
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = importAll(31) /* metro dependency 31 */;
const env0_3 = (require(27) /* metro dependency 27 */).View;
const value2 = require(33) /* metro dependency 33 */;
const env0_4 = value2.jsx;
const env0_5 = value2.jsxs;
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = createStylesModule.createStyles;
const object = {};
const BACKGROUND_MOD_SUBTLE = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_MOD_SUBTLE;
object.backgroundColor = BACKGROUND_MOD_SUBTLE;
object.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.round;
object.padding = 12;
const env0_6 = Reflect.apply(createStyles, createStylesModule, [{container: {'flex': 1, 'justifyContent': 'center',
'alignItems': 'center'}, iconWrapper: object, title: {'textAlign': 'center', 'marginTop': 16,
'marginHorizontal': 16}, subtext: {'textAlign': 'center', 'marginTop': 4, 'marginHorizontal': 16,
'marginBottom': 16}}]);
value = value.memo(_fun114241);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/threads/native/components/redesign/ThreadListEmpty.tsx');
exports.default = value;
}
function _fun114241({onCreateThreadPress}) { // fn#114241, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15295:495, offset: 0x0241924f, size: 477 bytes, params: 2, frame: 27
var r5;
var Button;
var object6;
const styles = useStyles();
const Icon = (require(1305) /* metro dependency 1305: native */).Icon;
const iconProps = {source: importDefault(11758) /* metro dependency 11758 */};
const Icon2 = (require(1305) /* metro dependency 1305: native */).Icon;
const Sizes = Icon2.Sizes;
const MEDIUM = Sizes.MEDIUM;
iconProps.size = MEDIUM;
const items2 = [<View style={styles.iconWrapper}><Icon {...iconProps} /></View>];
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const string = intl.string;
const HgTQ8p = (require(1244) /* metro dependency 1244: indexNative */).t.HgTQ8p;
items2[1] = <Text style={styles.title} accessibilityRole="header" maxFontSizeMultiplier={2} variant="heading-lg/semibold" color="mobile-text-heading-primary">{Reflect.apply(string,
intl, [HgTQ8p])}</Text>;
items2[2] = <Text style={styles.subtext} maxFontSizeMultiplier={2} variant="text-sm/medium" color="text-default">{intl.string((require(1244) /* metro dependency 1244: indexNative */).t.jmq9GC)}</Text>;
const value3 = onCreateThreadPress != null;
if (value3) {
Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button;
r5 = <Button onPress={onCreateThreadPress} text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t.rBIGBL)} />;
} else {
r5 = value3;
}
items2[3] = r5;
return (
<View style={styles.container}>
{items2}
</View>
);
}
@@ -0,0 +1,18 @@
/* Metro module 15099; source: modules/threads/native/components/redesign/ThreadListLoadingIndicator.tsx; dependencies: [31, 33, 4501, 10686, 2] */
function _fun114242(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#114242, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15296:6, offset: 0x0241942c, size: 191 bytes, params: 8, frame: 20
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = importAll(31) /* metro dependency 31 */;
const env0_2 = (require(33) /* metro dependency 33 */).jsx;
const env0_3 = (require(4501) /* metro dependency 4501: createStyles */).createStyles({spinner: {'width': 32,
'height': 32}});
value = value.memo(_fun114243);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/threads/native/components/redesign/ThreadListLoadingIndicator.tsx');
exports.default = value;
}
function _fun114243() { // fn#114243, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15296:185, offset: 0x024194eb, size: 64 bytes, params: 1, frame: 15
const styles = useStyles();
return ((Component) => <Component style={styles.spinner} animate />)(importDefault(10686) /* metro dependency 10686: MessageLoadingSpinner */);
}
@@ -0,0 +1,53 @@
/* Metro module 15096; source: modules/threads/native/components/redesign/ThreadListTableRow.tsx; dependencies: [31, 27, 1379, 33, 4501, 6238, 15097, 566, 2] */
function _fun114216(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#114216, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15293:6, offset: 0x024181cc, size: 243 bytes, params: 8, frame: 20
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = importAll(31) /* metro dependency 31 */;
const env0_3 = (require(27) /* metro dependency 27 */).View;
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
const env0_5 = (require(33) /* metro dependency 33 */).jsx;
const env0_6 = (require(4501) /* metro dependency 4501: createStyles */).createStyles({subLabel: {'maxWidth': '100%',
'marginTop': 2}});
value = value.memo(_fun114220);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/threads/native/components/redesign/ThreadListTableRow.tsx');
exports.default = value;
}
function ThreadListTableRow({thread, onPress, start, end}) { // fn#114217, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15293:210, offset: 0x024182bf, size: 224 bytes, params: 2, frame: 24
const styles = useStyles();
const value2 = env0_2.useMemo(function() {
if (onPress != null) {
return _fun114219;
}
}, [onPress, thread.id]);
const TableRow = (require(6238) /* metro dependency 6238: TableRowNative */).TableRow;
const name = thread.name;
const ThreadSubtext = (require(15097) /* metro dependency 15097: ThreadBrowserRowSubtext */).ThreadSubtext;
return (
<TableRow
label={name}
subLabel={<View style={styles.subLabel}><ThreadSubtext thread={thread} /></View>}
onPress={value2}
start={start}
end={end}
arrow
/>
);
}
function _fun114220({threadId, onPress, start, end}) { // fn#114220, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15293:510, offset: 0x024183d4, size: 129 bytes, params: 2, frame: 19
const channel = (require(566) /* metro dependency 566: flux */).useStateFromStores([ChannelStore], function() {
return ChannelStore.getChannel(threadId);
});
return channel == null ? null : <ThreadListTableRow thread={channel} start={start} end={end} onPress={onPress} />;
}
function _fun114218() { // fn#114218, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15293:297, offset: 0x0241839f, size: 28 bytes, params: 1, frame: 2
if (onPress != null) {
return function() {
return onPress(thread.id);
};
}
}