Skip to content

Commit

Permalink
missed these two toast messages in my previous PR
Browse files Browse the repository at this point in the history
  • Loading branch information
trippjoe committed Dec 6, 2023
1 parent a4eb456 commit 6938186
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/routes/settings/versions/DevelVersions.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import { VersionStore } from "$lib/stores/VersionStore";
import { saveActiveVersionChange } from "$lib/rpc/config";
import { _ } from "svelte-i18n";
import { toastStore } from "$lib/stores/ToastStore";
let versionsLoaded = false;
Expand Down Expand Up @@ -61,6 +62,7 @@
$VersionStore.activeVersionName = $VersionStore.selectedVersions.devel;
$VersionStore.selectedVersions.official = null;
$VersionStore.selectedVersions.unofficial = null;
toastStore.makeToast("Saved game version!", "info");
}
}
Expand Down
2 changes: 2 additions & 0 deletions src/routes/settings/versions/UnofficialVersions.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import { VersionStore } from "$lib/stores/VersionStore";
import { saveActiveVersionChange } from "$lib/rpc/config";
import { _ } from "svelte-i18n";
import { toastStore } from "$lib/stores/ToastStore";
let versionsLoaded = false;
Expand Down Expand Up @@ -64,6 +65,7 @@
$VersionStore.selectedVersions.unofficial;
$VersionStore.selectedVersions.official = null;
$VersionStore.selectedVersions.devel = null;
toastStore.makeToast("Saved game version!", "info");
}
}
Expand Down

0 comments on commit 6938186

Please sign in to comment.