1
0
Fork 0
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:
M66B 2022-04-14 21:46:13 +02:00
parent 8a4addd92b
commit ed330a6d91

View file

@ -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);