summaryrefslogtreecommitdiffhomepage
path: root/gui/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src/shared')
-rw-r--r--gui/src/shared/gui-settings-state.ts3
-rw-r--r--gui/src/shared/ipc-schema.ts1
2 files changed, 4 insertions, 0 deletions
diff --git a/gui/src/shared/gui-settings-state.ts b/gui/src/shared/gui-settings-state.ts
index d09421c92a..68e958324a 100644
--- a/gui/src/shared/gui-settings-state.ts
+++ b/gui/src/shared/gui-settings-state.ts
@@ -31,4 +31,7 @@ export interface IGuiSettingsState {
// The last version that the changelog dialog was shown for. This is used to only show the
// changelog after upgrade.
changelogDisplayedForVersion: string;
+
+ // Tells the app whether or not to show the map in the main view.
+ animateMap: boolean;
}
diff --git a/gui/src/shared/ipc-schema.ts b/gui/src/shared/ipc-schema.ts
index 6c7004d787..5257bb7b78 100644
--- a/gui/src/shared/ipc-schema.ts
+++ b/gui/src/shared/ipc-schema.ts
@@ -196,6 +196,7 @@ export const ipcSchema = {
setMonochromaticIcon: send<boolean>(),
setPreferredLocale: invoke<string, ITranslations>(),
setUnpinnedWindow: send<boolean>(),
+ setAnimateMap: send<boolean>(),
},
account: {
'': notifyRenderer<IAccountData | undefined>(),