fix: show readable copy for reminder notification toggle dialogs
Replace DIRECT_PUSH_TITLE in confirm and success messages with "reminder notifications" so users see clear text instead of the internal constant name.
This commit is contained in:
@@ -1239,7 +1239,7 @@ export default class AccountViewView extends Vue {
|
|||||||
if (this.isNativePlatform) {
|
if (this.isNativePlatform) {
|
||||||
// Show confirmation dialog
|
// Show confirmation dialog
|
||||||
this.notify.confirm(
|
this.notify.confirm(
|
||||||
`Would you like to turn off ${DIRECT_PUSH_TITLE}?`,
|
"Would you like to turn off reminder notifications?",
|
||||||
async () => {
|
async () => {
|
||||||
try {
|
try {
|
||||||
// Cancel the native notification
|
// Cancel the native notification
|
||||||
@@ -1256,7 +1256,7 @@ export default class AccountViewView extends Vue {
|
|||||||
this.notifyingReminderTime = "";
|
this.notifyingReminderTime = "";
|
||||||
|
|
||||||
this.notify.success(
|
this.notify.success(
|
||||||
`${DIRECT_PUSH_TITLE} has been turned off.`,
|
"Reminder notifications have been turned off.",
|
||||||
TIMEOUTS.STANDARD,
|
TIMEOUTS.STANDARD,
|
||||||
);
|
);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user