diff --git a/app/src/main/java/eu/faircode/email/FragmentAccounts.java b/app/src/main/java/eu/faircode/email/FragmentAccounts.java index d085f173b2..6c564796f8 100644 --- a/app/src/main/java/eu/faircode/email/FragmentAccounts.java +++ b/app/src/main/java/eu/faircode/email/FragmentAccounts.java @@ -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() {