diff --git a/app/src/main/java/eu/faircode/email/ActivityWidget.java b/app/src/main/java/eu/faircode/email/ActivityWidget.java index 59d093e683..ac666dc8fc 100644 --- a/app/src/main/java/eu/faircode/email/ActivityWidget.java +++ b/app/src/main/java/eu/faircode/email/ActivityWidget.java @@ -268,7 +268,7 @@ public class ActivityWidget extends ActivityBase { int pos = spFontSize.getSelectedItemPosition(); SharedPreferences.Editor editor = prefs.edit(); - if (folder == null) { + if (folder == null || folder.id < 0) { if (account != null && account.id > 0) editor.putString("widget." + appWidgetId + ".name", account.name); else