mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Revert "Refactoring, small improvements"
This reverts commit ee99ae3ecb.
This would cause existing widgets not to work anymore
This commit is contained in:
@@ -271,7 +271,7 @@ public class ServiceSynchronize extends ServiceBase {
|
||||
last = messages;
|
||||
|
||||
if (changed)
|
||||
WidgetList.update(ServiceSynchronize.this);
|
||||
WidgetUnified.update(ServiceSynchronize.this);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -412,7 +412,7 @@ public class ServiceSynchronize extends ServiceBase {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
|
||||
boolean badge = prefs.getBoolean("badge", true);
|
||||
|
||||
WidgetCount.update(this, unseen);
|
||||
Widget.update(this, unseen);
|
||||
|
||||
try {
|
||||
if (unseen == null || !badge)
|
||||
|
||||
Reference in New Issue
Block a user