Small behavior improvement

pull/200/head
M66B 4 years ago
parent c3ecd8a598
commit 49aebd4f44

@ -334,8 +334,10 @@ public class FragmentAccounts extends FragmentBase {
super.onRequestPermissionsResult(requestCode, permissions, grantResults); super.onRequestPermissionsResult(requestCode, permissions, grantResults);
if (requestCode == REQUEST_IMPORT_OAUTH) if (requestCode == REQUEST_IMPORT_OAUTH)
if (Helper.hasPermissions(getContext(), permissions)) if (Helper.hasPermissions(getContext(), permissions)) {
btnGrant.setVisibility(View.GONE);
ServiceSynchronize.reload(getContext(), null, false, "Permissions regranted"); ServiceSynchronize.reload(getContext(), null, false, "Permissions regranted");
}
} }
private void onSwipeRefresh() { private void onSwipeRefresh() {

Loading…
Cancel
Save