Fixed widget init

This commit is contained in:
M66B
2019-09-23 10:57:02 +02:00
parent 50f48fb4c6
commit bdbdaba839
3 changed files with 25 additions and 21 deletions

View File

@@ -147,9 +147,9 @@ public class ServiceSynchronize extends ServiceBase {
}
});
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
db.message().liveUnseen().observe(this, new Observer<TupleMessageStats>() {
db.message().liveUnseenWidget().observe(this, new Observer<TupleMessageStats>() {
private Integer lastUnseen = null;
@Override