mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-17 05:09:53 +01:00
Remote wipe confirm message notifiction
This commit is contained in:
@@ -333,6 +333,14 @@ class ConversationVisitor implements
|
|||||||
.formatDateAbsolute(ctx, r.getMessageExpiry());
|
.formatDateAbsolute(ctx, r.getMessageExpiry());
|
||||||
return new ConversationNoticeItem(
|
return new ConversationNoticeItem(
|
||||||
R.layout.list_item_conversation_notice_out, text, r);
|
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
|
default: // REVOKE
|
||||||
String revokeText;
|
String revokeText;
|
||||||
if (r.isLocal()) {
|
if (r.isLocal()) {
|
||||||
|
|||||||
@@ -773,5 +773,7 @@
|
|||||||
<string name="remote_wipe_revoke_success">Remote wipe status revoked</string>
|
<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_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>
|
<string name="button_confirm">Ok</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user