mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-25 19:29:54 +01:00
Show toast when ignoring backup enable megaphone.
This commit is contained in:
committed by
jeffrey-signal
parent
4ecd3ec052
commit
6196fb4f44
@@ -463,6 +463,7 @@ public final class Megaphones {
|
|||||||
controller.onMegaphoneSnooze(Event.TURN_ON_SIGNAL_BACKUPS);
|
controller.onMegaphoneSnooze(Event.TURN_ON_SIGNAL_BACKUPS);
|
||||||
})
|
})
|
||||||
.setSecondaryButton(R.string.TurnOnSignalBackups__not_now, (megaphone, controller) -> {
|
.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);
|
controller.onMegaphoneSnooze(Event.TURN_ON_SIGNAL_BACKUPS);
|
||||||
})
|
})
|
||||||
.build();
|
.build();
|
||||||
|
|||||||
@@ -7764,6 +7764,8 @@
|
|||||||
<string name="TurnOnSignalBackups__turn_on">Turn on</string>
|
<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 -->
|
<!-- 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>
|
<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 -->
|
<!-- Title of a megaphone shown to prompt the user to verify their recovery key -->
|
||||||
<string name="VerifyBackupKey__title">Verify your recovery key</string>
|
<string name="VerifyBackupKey__title">Verify your recovery key</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user