From d36a4c1ddcabee0c95fbeb332ccc8699827e4a6a Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 5 Nov 2023 12:34:10 +0100 Subject: [PATCH] Small fix --- app/src/main/java/eu/faircode/email/ActivityWidget.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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