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:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user