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

26 lines
565 B
TypeScript

// Metro module 11142 (f11143).
import Dispatcher from "../../../Dispatcher";
export function updateCustomTheme(a0, a1) {
Dispatcher.dispatch({
type: "UPDATE_CUSTOM_THEME",
customTheme: a0,
theme: a1
});
}
export function resetCustomTheme() {
Dispatcher.dispatch({
type: "RESET_CUSTOM_THEME"
});
}
export function previewCustomTheme(a0) {
Dispatcher.dispatch({
type: "PREVIEW_CUSTOM_THEME",
previewCustomTheme: a0
});
}
export function clearPreviewTheme() {
Dispatcher.dispatch({
type: "CLEAR_PREVIEW_CUSTOM_THEME"
});
}