@sqliteai/todoapp 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hooks/useCategories.js +2 -2
- package/package.json +1 -1
package/hooks/useCategories.js
CHANGED
|
@@ -69,8 +69,8 @@ const useCategories = () => {
|
|
|
69
69
|
await db.execute(`SELECT cloudsync_init('tags');`);
|
|
70
70
|
await db.execute(`SELECT cloudsync_init('tasks_tags');`);
|
|
71
71
|
|
|
72
|
-
await db.execute('INSERT OR IGNORE INTO tags (uuid, name) VALUES (?, ?)', [
|
|
73
|
-
await db.execute('INSERT OR IGNORE INTO tags (uuid, name) VALUES (?, ?)', [
|
|
72
|
+
await db.execute('INSERT OR IGNORE INTO tags (uuid, name) VALUES (?, ?)', ['work', 'Work'])
|
|
73
|
+
await db.execute('INSERT OR IGNORE INTO tags (uuid, name) VALUES (?, ?)', ['personal', 'Personal'])
|
|
74
74
|
|
|
75
75
|
if ((ANDROID_CONNECTION_STRING || CONNECTION_STRING) && API_TOKEN) {
|
|
76
76
|
await db.execute(`SELECT cloudsync_network_init('${Platform.OS == 'android' && ANDROID_CONNECTION_STRING ? ANDROID_CONNECTION_STRING : CONNECTION_STRING}');`);
|