mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-21 21:57:19 +00:00
Small behavior improvement
This commit is contained in:
parent
c3ecd8a598
commit
49aebd4f44
1 changed files with 3 additions and 1 deletions
|
@ -334,8 +334,10 @@ public class FragmentAccounts extends FragmentBase {
|
|||
super.onRequestPermissionsResult(requestCode, permissions, grantResults);
|
||||
|
||||
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");
|
||||
}
|
||||
}
|
||||
|
||||
private void onSwipeRefresh() {
|
||||
|
|
Loading…
Reference in a new issue