mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-18 13:49:53 +01:00
Fix success fragment
This commit is contained in:
@@ -26,13 +26,13 @@ public class RevokeRemoteWipeSuccessFragment extends BaseFragment {
|
|||||||
@Inject
|
@Inject
|
||||||
ViewModelProvider.Factory viewModelFactory;
|
ViewModelProvider.Factory viewModelFactory;
|
||||||
|
|
||||||
private ActivateRemoteWipeViewModel viewModel;
|
private RevokeRemoteWipeViewModel viewModel;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void injectFragment(ActivityComponent component) {
|
public void injectFragment(ActivityComponent component) {
|
||||||
component.inject(this);
|
component.inject(this);
|
||||||
viewModel = new ViewModelProvider(requireActivity(), viewModelFactory)
|
viewModel = new ViewModelProvider(requireActivity(), viewModelFactory)
|
||||||
.get(ActivateRemoteWipeViewModel.class);
|
.get(RevokeRemoteWipeViewModel.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
@@ -763,6 +763,7 @@
|
|||||||
<!-- revoke -->
|
<!-- revoke -->
|
||||||
<string name="activity_name_revoke_remote_wipe">Revoke Remote Wipe</string>
|
<string name="activity_name_revoke_remote_wipe">Revoke Remote Wipe</string>
|
||||||
<string name="revoke_remote_wipe">Revoke remote wipe status</string>
|
<string name="revoke_remote_wipe">Revoke remote wipe status</string>
|
||||||
|
<string name="remote_wipe_revoke_success">Remote wipe status revoked</string>
|
||||||
|
|
||||||
<string name="button_confirm">Ok</string>
|
<string name="button_confirm">Ok</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user