Files
discord-decomp/sources/modules/client_themes/ClientThemesBackgroundActionCreators.tsx
T
2026-07-27 16:20:00 +03:00

31 lines
2.3 KiB
TypeScript

/* Metro module 13647; source: modules/client_themes/ClientThemesBackgroundActionCreators.tsx; dependencies: [694, 2] */
function _fun104218(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#104218, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13844:6, offset: 0x0228abec, size: 140 bytes, params: 8, frame: 17
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/client_themes/ClientThemesBackgroundActionCreators.tsx');
exports.updateBackgroundGradientPreset = updateBackgroundGradientPreset;
exports.updateMobilePendingThemeIndex = updateMobilePendingThemeIndex;
exports.resetBackgroundGradientPreset = resetBackgroundGradientPreset;
exports.resetPreviewClientTheme = resetPreviewClientTheme;
}
function updateBackgroundGradientPreset(a0) { // fn#104219, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13844:221, offset: 0x0228ac78, size: 56 bytes, params: 2, frame: 13
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'UPDATE_BACKGROUND_GRADIENT_PRESET',
presetId: a0});
}
function updateMobilePendingThemeIndex(a0) { // fn#104220, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13844:330, offset: 0x0228acb0, size: 56 bytes, params: 2, frame: 13
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'UPDATE_MOBILE_PENDING_THEME_INDEX',
mobileThemesIndex: a0});
}
function resetBackgroundGradientPreset() { // fn#104221, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13844:448, offset: 0x0228ace8, size: 50 bytes, params: 1, frame: 12
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({'type': 'UPDATE_BACKGROUND_GRADIENT_PRESET',
'presetId': null});
}
function resetPreviewClientTheme() { // fn#104222, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13844:555, offset: 0x0228ad1a, size: 46 bytes, params: 1, frame: 13
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'RESET_PREVIEW_CLIENT_THEME'});
}