mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Fixed small memory leak
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user