23 lines
1.7 KiB
TypeScript
23 lines
1.7 KiB
TypeScript
/* Metro module 12152; source: actions/ChannelCollapseActionCreators.tsx; dependencies: [4864, 694, 6612, 2] */
|
|
function _fun93218(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#93218, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12338:6, offset: 0x020ab069, size: 133 bytes, params: 8, frame: 18
|
|
var object2;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const userGuildSettingsStore = importDefault(4864) /* metro dependency 4864: UserGuildSettingsStore */;
|
|
object2 = {update: update_93219, toggleCollapseGuild: toggleCollapseGuild};
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('actions/ChannelCollapseActionCreators.tsx');
|
|
exports.default = object2;
|
|
}
|
|
|
|
function update_93219(a0) { // fn#93219, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12338:109, offset: 0x020ab0ee, size: 54 bytes, params: 2, frame: 13
|
|
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'CHANNEL_COLLAPSE', channelId: a0});
|
|
}
|
|
|
|
function toggleCollapseGuild(a0) { // fn#93220, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12338:176, offset: 0x020ab124, size: 103 bytes, params: 2, frame: 18
|
|
(importDefault(6612) /* metro dependency 6612: UserGuildSettingsManager */).saveUserGuildSettings(a0,
|
|
{hide_muted_channels: !UserGuildSettingsStore.isGuildCollapsed(a0)});
|
|
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'GUILD_TOGGLE_COLLAPSE_MUTED',
|
|
guildId: a0});
|
|
}
|
|
|