Show toast when ignoring backup enable megaphone.

This commit is contained in:
Greyson Parrelli
2025-10-28 12:20:05 -04:00
committed by jeffrey-signal
parent 4ecd3ec052
commit 6196fb4f44
2 changed files with 3 additions and 0 deletions

View File

@@ -463,6 +463,7 @@ public final class Megaphones {
controller.onMegaphoneSnooze(Event.TURN_ON_SIGNAL_BACKUPS);
})
.setSecondaryButton(R.string.TurnOnSignalBackups__not_now, (megaphone, controller) -> {
controller.onMegaphoneToastRequested(controller.getMegaphoneActivity().getString(R.string.TurnOnSignalBackups__toast_not_now));
controller.onMegaphoneSnooze(Event.TURN_ON_SIGNAL_BACKUPS);
})
.build();

View File

@@ -7764,6 +7764,8 @@
<string name="TurnOnSignalBackups__turn_on">Turn on</string>
<!-- Button of a megaphone shown at the bottom of the chat list to prompt the user to enable message backups that will simply dismiss the megaphone -->
<string name="TurnOnSignalBackups__not_now">Not now</string>
<!-- Text for a "toast" that pops up at the bottom of the user's screen after they respond "not now" to a prompt asking them to enable backups -->
<string name="TurnOnSignalBackups__toast_not_now">You can enable backups in \"Settings\"</string>
<!-- Title of a megaphone shown to prompt the user to verify their recovery key -->
<string name="VerifyBackupKey__title">Verify your recovery key</string>