Files
discord-decomp/modules/client_themes/ClientThemesBackgroundActionCreators.tsx
T
2026-11-01 12:12:55 +02:00

26 lines
644 B
TypeScript

// Metro module 14201 (f14202).
import Dispatcher from "../../Dispatcher";
export function updateBackgroundGradientPreset(a0) {
Dispatcher.dispatch({
type: "UPDATE_BACKGROUND_GRADIENT_PRESET",
presetId: a0
});
}
export function updateMobilePendingThemeIndex(a0) {
Dispatcher.dispatch({
type: "UPDATE_MOBILE_PENDING_THEME_INDEX",
mobileThemesIndex: a0
});
}
export function resetBackgroundGradientPreset() {
Dispatcher.dispatch({
type: "UPDATE_BACKGROUND_GRADIENT_PRESET",
presetId: null
});
}
export function resetPreviewClientTheme() {
Dispatcher.dispatch({
type: "RESET_PREVIEW_CLIENT_THEME"
});
}