mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 22:51:02 +00:00
Fixed animator life cycle
This commit is contained in:
parent
6a1e81a571
commit
f9392d05e7
3 changed files with 3 additions and 3 deletions
|
@ -279,7 +279,7 @@ public class FragmentAccounts extends FragmentBase {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
animator = Helper.getFabAnimator(fab, this);
|
animator = Helper.getFabAnimator(fab, getViewLifecycleOwner());
|
||||||
|
|
||||||
// Initialize
|
// Initialize
|
||||||
FragmentDialogTheme.setBackground(getContext(), view, false);
|
FragmentDialogTheme.setBackground(getContext(), view, false);
|
||||||
|
|
|
@ -180,7 +180,7 @@ public class FragmentIdentities extends FragmentBase {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
animator = Helper.getFabAnimator(fab, this);
|
animator = Helper.getFabAnimator(fab, getViewLifecycleOwner());
|
||||||
|
|
||||||
// Initialize
|
// Initialize
|
||||||
FragmentDialogTheme.setBackground(getContext(), view, false);
|
FragmentDialogTheme.setBackground(getContext(), view, false);
|
||||||
|
|
|
@ -547,7 +547,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
fabSearch = view.findViewById(R.id.fabSearch);
|
fabSearch = view.findViewById(R.id.fabSearch);
|
||||||
fabError = view.findViewById(R.id.fabError);
|
fabError = view.findViewById(R.id.fabError);
|
||||||
|
|
||||||
animator = Helper.getFabAnimator(fabSearch, this);
|
animator = Helper.getFabAnimator(fabSearch, getViewLifecycleOwner());
|
||||||
|
|
||||||
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue