feat(achievements): remove secret achievements and add new ones. also play sound only when notification comes up instead of instantly

This commit is contained in:
2026-03-16 12:37:24 +01:00
parent 0d580e7edf
commit 085e5f20a9
8 changed files with 46 additions and 51 deletions

View File

@@ -291,13 +291,6 @@ const handleActivateA = () => {
achievements.unlock("settings_color_change");
}
if (!achievements.advancement.colors.includes(app.color.hex)) {
achievements.advancement.colors.push(app.color.hex);
if (achievements.advancement.colors.length === APP_COLORS.flat().length) {
achievements.unlock("settings_color_try_all");
}
}
confirmationModal.open({
text: $t("settings.user.color.confirmation"),
onClosed: async () => {