mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Error message on failure to set up remote wipe
This commit is contained in:
@@ -63,8 +63,9 @@ public class RemoteWipeSetupActivity extends BriarActivity implements
|
||||
showNextFragment(new RemoteWipeSuccessFragment());
|
||||
} else if (state.equals(RemoteWipeSetupState.FAILED)) {
|
||||
Toast.makeText(this,
|
||||
"Failed",
|
||||
Toast.LENGTH_SHORT).show();
|
||||
R.string.remote_wipe_setup_failed,
|
||||
Toast.LENGTH_LONG).show();
|
||||
finish();
|
||||
} else if (state.equals(RemoteWipeSetupState.FINISHED)) {
|
||||
finish();
|
||||
}
|
||||
|
||||
@@ -734,6 +734,7 @@
|
||||
|
||||
<!-- setup -->
|
||||
<string name="remote_wipe_setup_success">Remote wipe is set up</string>
|
||||
<string name="remote_wipe_setup_failed">Failed to set up remote wipe</string>
|
||||
|
||||
<!-- settings menu -->
|
||||
<string name="pref_remote_wipe_summary">Allow trusted contacts to activate an account wipe remotely</string>
|
||||
|
||||
Reference in New Issue
Block a user