Added widget folder type

This commit is contained in:
M66B
2019-11-17 19:18:21 +01:00
parent b5f517b91c
commit 77fc85faed
2 changed files with 3 additions and 0 deletions

View File

@@ -96,6 +96,7 @@ public class ActivityWidgetUnified extends ActivityBase {
editor.remove("widget." + appWidgetId + ".name");
editor.putLong("widget." + appWidgetId + ".account", account == null ? -1L : account.id);
editor.putLong("widget." + appWidgetId + ".folder", folder == null ? -1L : folder.id);
editor.putString("widget." + appWidgetId + ".type", folder == null ? null : folder.type);
editor.putBoolean("widget." + appWidgetId + ".unseen", cbUnseen.isChecked());
editor.putBoolean("widget." + appWidgetId + ".flagged", cbFlagged.isChecked());
editor.apply();