mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 21:34:44 +02:00
Apply sync on launch to widgets
This commit is contained in:
@@ -102,6 +102,7 @@ public class ActivityWidgetSync extends ActivityBase {
|
||||
SharedPreferences.Editor editor = prefs.edit();
|
||||
editor.putBoolean("widget." + appWidgetId + ".semi", cbSemiTransparent.isChecked());
|
||||
editor.putInt("widget." + appWidgetId + ".background", btnColor.getColor());
|
||||
editor.putInt("widget." + appWidgetId + ".version", BuildConfig.VERSION_CODE);
|
||||
editor.apply();
|
||||
|
||||
WidgetSync.init(ActivityWidgetSync.this, appWidgetId);
|
||||
|
||||
Reference in New Issue
Block a user