mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-08 18:13:24 +02:00
Fixed flickering
This is why AndroidX was required
This commit is contained in:
@@ -101,7 +101,7 @@ public class FragmentFolder extends FragmentEx {
|
||||
long id = (args == null ? -1 : args.getLong("id"));
|
||||
|
||||
// Observe
|
||||
DB.getInstance(getContext()).folder().liveFolder(id).observe(this, new Observer<EntityFolder>() {
|
||||
DB.getInstance(getContext()).folder().liveFolder(id).observe(getViewLifecycleOwner(), new Observer<EntityFolder>() {
|
||||
@Override
|
||||
public void onChanged(@Nullable EntityFolder folder) {
|
||||
if (folder != null) {
|
||||
|
||||
Reference in New Issue
Block a user