Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
24 lines
1.2 KiB
TypeScript
24 lines
1.2 KiB
TypeScript
// Module ID: 15208
|
|
// Function ID: 15209
|
|
// Name: ClientThemesBackgroundActionCreators
|
|
// Dependencies: [573, 2]
|
|
// Exports: resetBackgroundGradientPreset, resetPreviewClientTheme, updateBackgroundGradientPreset, updateMobilePendingThemeIndex
|
|
|
|
// Module 15208 (ClientThemesBackgroundActionCreators)
|
|
import DispatcherDefault from "Dispatcher" /* 573 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("modules/client_themes/ClientThemesBackgroundActionCreators.tsx");
|
|
|
|
export const updateBackgroundGradientPreset = function updateBackgroundGradientPreset(id) {
|
|
DispatcherDefault.dispatch({ type: "UPDATE_BACKGROUND_GRADIENT_PRESET", presetId: id });
|
|
};
|
|
export const updateMobilePendingThemeIndex = function updateMobilePendingThemeIndex(mobileThemesIndex) {
|
|
DispatcherDefault.dispatch({ type: "UPDATE_MOBILE_PENDING_THEME_INDEX", mobileThemesIndex });
|
|
};
|
|
export const resetBackgroundGradientPreset = function resetBackgroundGradientPreset() {
|
|
DispatcherDefault.dispatch({ type: "UPDATE_BACKGROUND_GRADIENT_PRESET", presetId: null });
|
|
};
|
|
export const resetPreviewClientTheme = function resetPreviewClientTheme() {
|
|
DispatcherDefault.dispatch({ type: "RESET_PREVIEW_CLIENT_THEME" });
|
|
};
|