fix(settings/clock/achievements): remove animation when coming from achievemnts screen

This commit is contained in:
2026-03-16 11:33:45 +01:00
parent fa73841098
commit 0d580e7edf
3 changed files with 28 additions and 5 deletions

View File

@@ -6,8 +6,13 @@ import StatusBar from "./StatusBar.vue";
import Notifications from "./Notifications.vue";
const store = useSettingsStore();
const app = useAppStore();
onMounted(() => {
if (app.previousScreen === "achievements") {
store.isIntro = false;
return;
}
store.animateIntro();
});
</script>