feat(settings/options/2048): quit confirmation
This commit is contained in:
@@ -8,7 +8,13 @@ const { assets } = useAssets();
|
||||
const { onRender } = useScreen();
|
||||
|
||||
const handleActivateB = () => {
|
||||
store.closeSubMenu();
|
||||
confirmationModal.open({
|
||||
text: $t("settings.options.2048.quitConfirmation"),
|
||||
onConfirm: () => {},
|
||||
onClosed: (choice) => {
|
||||
if (choice === "confirm") store.closeSubMenu();
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
const handleActivateA = () => {
|
||||
|
||||
Reference in New Issue
Block a user