Small fix

This commit is contained in:
M66B 2023-11-05 12:34:10 +01:00
parent 9630d79ed7
commit d36a4c1ddc
1 changed files with 1 additions and 1 deletions

View File

@ -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