feat(settings): change button labels for question (yes/no instead of confirm/cancel)
This commit is contained in:
@@ -108,8 +108,12 @@ const handleReset = () => {
|
||||
if (isAnimating.value) return;
|
||||
confirmationModal.open({
|
||||
text: $t("settings.clock.achievements.resetConfirmation"),
|
||||
onConfirm: () => {
|
||||
achievements.reset();
|
||||
bLabel: $t("common.no"),
|
||||
aLabel: $t("common.yes"),
|
||||
onClosed: (choice) => {
|
||||
if (choice === "confirm") {
|
||||
achievements.reset();
|
||||
}
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user