2026-07-27 11:26:19 +00:00
|
|
|
// Module ID: 14135
|
|
|
|
|
// Function ID: 108695
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: updateBackgroundGradientPreset
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [686, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: resetBackgroundGradientPreset, resetPreviewClientTheme, updateBackgroundGradientPreset, updateMobilePendingThemeIndex
|
|
|
|
|
|
2026-07-27 11:26:19 +00:00
|
|
|
// Module 14135 (updateBackgroundGradientPreset)
|
2026-07-23 10:11:24 +00:00
|
|
|
const result = require("set").fileFinishedImporting("modules/client_themes/ClientThemesBackgroundActionCreators.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const updateBackgroundGradientPreset = function updateBackgroundGradientPreset(id) {
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj = importDefault(686);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { type: "UPDATE_BACKGROUND_GRADIENT_PRESET", presetId: id };
|
|
|
|
|
obj.dispatch(obj);
|
|
|
|
|
};
|
|
|
|
|
export const updateMobilePendingThemeIndex = function updateMobilePendingThemeIndex(mobileThemesIndex) {
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj = importDefault(686);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { type: "UPDATE_MOBILE_PENDING_THEME_INDEX", mobileThemesIndex };
|
|
|
|
|
obj.dispatch(obj);
|
|
|
|
|
};
|
|
|
|
|
export const resetBackgroundGradientPreset = function resetBackgroundGradientPreset() {
|
2026-07-23 10:11:24 +00:00
|
|
|
importDefault(686).dispatch({ type: "UPDATE_BACKGROUND_GRADIENT_PRESET", presetId: null });
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
export const resetPreviewClientTheme = function resetPreviewClientTheme() {
|
2026-07-23 10:11:24 +00:00
|
|
|
importDefault(686).dispatch({ type: "RESET_PREVIEW_CLIENT_THEME" });
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|