mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Remote wipe confirm message notifiction
This commit is contained in:
@@ -333,6 +333,14 @@ class ConversationVisitor implements
|
||||
.formatDateAbsolute(ctx, r.getMessageExpiry());
|
||||
return new ConversationNoticeItem(
|
||||
R.layout.list_item_conversation_notice_out, text, r);
|
||||
case CONFIRM:
|
||||
if (!r.isLocal()) {
|
||||
String confirmText =
|
||||
ctx.getString(R.string.remote_wipe_confirm_received,
|
||||
contactName.getValue());
|
||||
return new ConversationNoticeItem(
|
||||
R.layout.list_item_conversation_notice_in, confirmText, r);
|
||||
}
|
||||
default: // REVOKE
|
||||
String revokeText;
|
||||
if (r.isLocal()) {
|
||||
|
||||
@@ -773,5 +773,7 @@
|
||||
<string name="remote_wipe_revoke_success">Remote wipe status revoked</string>
|
||||
<string name="remote_wipe_modify_contacts">Change remote wipers</string>
|
||||
|
||||
<string name="remote_wipe_confirm_received">Briar data has been wiped from %1$s\'s device.</string>
|
||||
|
||||
<string name="button_confirm">Ok</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user