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

35 lines
2.5 KiB
TypeScript

/* Metro module 13647; source: modules/client_themes/ClientThemesBackgroundActionCreators.tsx; dependencies: [694, 2] */
import Dispatcher from '../../Dispatcher.tsx'; /* Metro dependency 694 */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 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});
(FileImportTrackerModule).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
(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
(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
(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
(Dispatcher).dispatch({type: 'RESET_PREVIEW_CLIENT_THEME'});
}
}
global.__d(_fun104218, 13647, [694, 2]) /* metro module 13647, dependencies: [694, 2] */;