Fixed view invalidation

This commit is contained in:
M66B 2020-03-17 13:56:54 +01:00
parent f879b3f5a6
commit 377ba75d0e
1 changed files with 3 additions and 3 deletions

View File

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