Files
discord-decomp/sources/modules/notifications/server_trending/ServerTrendingNotificationUtils.tsx
T
2026-07-28 01:06:53 +03:00

20 lines
1.5 KiB
TypeScript

/* Metro module 13907; source: modules/notifications/server_trending/ServerTrendingNotificationUtils.tsx; dependencies: [3796, 661, 3829, 683, 2] */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */
import * as NotificationConstantsModule from '../NotificationConstants.tsx'; /* Metro dependency 3796 */
function _fun105606(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#105606, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14104:6, offset: 0x022bdd6e, size: 146 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/notifications/server_trending/ServerTrendingNotificationUtils.tsx');
exports.onServerTrendingNotificationSettingsChanged = function(a0) {
require(dependencyMap[2]).EnableServerTrendingNotifications.updateSetting(a0);
importDefault(dependencyMap[3]).track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED,
{update_type: NotificationSettingsUpdateType.ACCOUNT, server_trending_notifications: a0});
};
}
global.__d(_fun105606, 13907, [3796, 661, 3829, 683,
2]) /* metro module 13907, dependencies: [3796, 661, 3829, 683, 2] */;