20 lines
1.5 KiB
TypeScript
20 lines
1.5 KiB
TypeScript
/* Metro module 10913; source: modules/channel/ChannelVisibilityUtils.tsx; dependencies: [4791, 1934, 3969, 2] */
|
|
function _fun83638(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#83638, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11099:6, offset: 0x01f21ede, size: 138 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const channelSectionStore = importDefault(4791) /* metro dependency 4791: ChannelSectionStore */;
|
|
const selectedChannelStore = importDefault(1934) /* metro dependency 1934: SelectedChannelStore */;
|
|
const selectedGuildStore = importDefault(3969) /* metro dependency 3969: SelectedGuildStore */;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/channel/ChannelVisibilityUtils.tsx');
|
|
exports.isChannelCurrentlyVisible = isChannelCurrentlyVisible;
|
|
}
|
|
|
|
function isChannelCurrentlyVisible(a0) { // fn#83639, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11099:230, offset: 0x01f21f68, size: 63 bytes, params: 2, frame: 14
|
|
const getChannelId = SelectedChannelStore.getChannelId;
|
|
const getGuildId = SelectedGuildStore.getGuildId;
|
|
const value2 = Reflect.apply(getChannelId, SelectedChannelStore, [Reflect.apply(getGuildId, SelectedGuildStore,
|
|
[])]);
|
|
return value2 === a0 || ChannelSectionStore.getCurrentSidebarChannelId(value2) === a0;
|
|
}
|
|
|