fix(settings/clock/achievements): remove animation when coming from achievemnts screen
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user