mirror of https://github.com/M66B/FairEmail.git
Fixed view invalidation
This commit is contained in:
parent
f879b3f5a6
commit
377ba75d0e
|
@ -364,7 +364,7 @@ public class ApplicationEx extends Application {
|
|||
if (changed) {
|
||||
Log.i("Invalidating account view");
|
||||
last = accounts;
|
||||
db.getInvalidationTracker().notifyObserversByTableNames("account_view");
|
||||
db.getInvalidationTracker().notifyObserversByTableNames("message");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -390,7 +390,7 @@ public class ApplicationEx extends Application {
|
|||
if (changed) {
|
||||
Log.i("Invalidating identity view");
|
||||
last = identities;
|
||||
db.getInvalidationTracker().notifyObserversByTableNames("identity_view");
|
||||
db.getInvalidationTracker().notifyObserversByTableNames("message");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -416,7 +416,7 @@ public class ApplicationEx extends Application {
|
|||
if (changed) {
|
||||
Log.i("Invalidating folder view");
|
||||
last = folders;
|
||||
db.getInvalidationTracker().notifyObserversByTableNames("folder_view");
|
||||
db.getInvalidationTracker().notifyObserversByTableNames("message");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue