Fixed navigating to encryption tab page

pull/178/head
M66B 5 years ago
parent 9d1acd1fda
commit 72fff48070

@ -2528,7 +2528,7 @@ public class FragmentCompose extends FragmentBase {
public void onClick(View v) {
startActivity(
new Intent(getContext(), ActivitySetup.class)
.putExtra("tab", "privacy"));
.putExtra("tab", "encryption"));
}
});
snackbar.show();

@ -201,8 +201,8 @@ public class FragmentOptions extends FragmentBase {
pager.setCurrentItem(3);
else if ("display".equals(tab))
pager.setCurrentItem(4);
else if ("privacy".equals(tab))
pager.setCurrentItem(6);
else if ("encryption".equals(tab))
pager.setCurrentItem(7);
getActivity().getIntent().removeExtra("tab");
}

Loading…
Cancel
Save