diff options
author | Isc <ccccym666@gmail.com> | 2020-05-11 21:20:18 +0300 |
---|---|---|
committer | Isc <ccccym666@gmail.com> | 2020-05-11 21:20:18 +0300 |
commit | 895f1b0eab3eee59f93702419e32454bb068f06e (patch) | |
tree | 7ca7c3ff59573e1446c86c4ed35d8ab09c5f8bd0 /app | |
parent | b2203285c279a4b6b1cfd2522a4ff7f067483978 (diff) |
Persist the capabilities values in addAccount
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java b/app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java index c3eac5ad..e86f3714 100644 --- a/app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java +++ b/app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java @@ -683,6 +683,9 @@ public class NotesDatabase extends AbstractNotesDatabase { values.put(key_url, url); values.put(key_username, username); values.put(key_account_name, accountName); + values.put(key_color, capabilities.getColor().substring(1)); + values.put(key_text_color, capabilities.getTextColor().substring(1)); + values.put(key_capabilities_etag, capabilities.getETag()); db.insertOrThrow(table_accounts, null, values); } |