mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 01:36:55 +00:00
Fixed small memory leak
This commit is contained in:
parent
8a4addd92b
commit
ed330a6d91
1 changed files with 1 additions and 1 deletions
|
@ -916,7 +916,7 @@ public class FragmentSetup extends FragmentBase {
|
|||
|
||||
private void setContactsPermission(boolean granted) {
|
||||
if (granted)
|
||||
ContactInfo.init(getContext());
|
||||
ContactInfo.init(getContext().getApplicationContext());
|
||||
|
||||
tvPermissionsDone.setText(granted ? R.string.title_setup_done : R.string.title_setup_to_do);
|
||||
tvPermissionsDone.setTextColor(granted ? textColorPrimary : colorWarning);
|
||||
|
|
Loading…
Reference in a new issue