Add an option to suppress the 'Saved Game' toast

This commit is contained in:
Martin Fournier
2021-12-18 08:01:15 -05:00
parent eb002d655a
commit 733f04c343
3 changed files with 36 additions and 1 deletions
+7
View File
@@ -103,6 +103,11 @@ interface IDefaultSettings {
*/
SuppressTIXPopup: boolean;
/**
* Whether the user should be displayed a toast alert when the game is saved.
*/
SuppressSavedGameToast: boolean;
/*
* Theme colors
*/
@@ -186,6 +191,7 @@ export const defaultSettings: IDefaultSettings = {
SuppressTravelConfirmation: false,
SuppressBladeburnerPopup: false,
SuppressTIXPopup: false,
SuppressSavedGameToast: false,
theme: {
primarylight: "#0f0",
@@ -251,6 +257,7 @@ export const Settings: ISettings & ISelfInitializer & ISelfLoading = {
SuppressTravelConfirmation: defaultSettings.SuppressTravelConfirmation,
SuppressBladeburnerPopup: defaultSettings.SuppressBladeburnerPopup,
SuppressTIXPopup: defaultSettings.SuppressTIXPopup,
SuppressSavedGameToast: defaultSettings.SuppressSavedGameToast,
MonacoTheme: "monokai",
MonacoInsertSpaces: false,
MonacoFontSize: 20,