mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-16 12:49:55 +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());
|
showNextFragment(new RemoteWipeSuccessFragment());
|
||||||
} else if (state.equals(RemoteWipeSetupState.FAILED)) {
|
} else if (state.equals(RemoteWipeSetupState.FAILED)) {
|
||||||
Toast.makeText(this,
|
Toast.makeText(this,
|
||||||
"Failed",
|
R.string.remote_wipe_setup_failed,
|
||||||
Toast.LENGTH_SHORT).show();
|
Toast.LENGTH_LONG).show();
|
||||||
|
finish();
|
||||||
} else if (state.equals(RemoteWipeSetupState.FINISHED)) {
|
} else if (state.equals(RemoteWipeSetupState.FINISHED)) {
|
||||||
finish();
|
finish();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -734,6 +734,7 @@
|
|||||||
|
|
||||||
<!-- setup -->
|
<!-- setup -->
|
||||||
<string name="remote_wipe_setup_success">Remote wipe is set up</string>
|
<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 -->
|
<!-- settings menu -->
|
||||||
<string name="pref_remote_wipe_summary">Allow trusted contacts to activate an account wipe remotely</string>
|
<string name="pref_remote_wipe_summary">Allow trusted contacts to activate an account wipe remotely</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user