diff --git a/app/licences/libraries/eastereggs.json b/app/licences/libraries/eastereggs.json index 249317c..ea27110 100644 --- a/app/licences/libraries/eastereggs.json +++ b/app/licences/libraries/eastereggs.json @@ -1,5 +1,5 @@ { - "uniqueId": "com.dede.android_eggs:3.4.0", + "uniqueId": "com.dede.android_eggs", "artifactVersion": "3.4.0", "name": "AndroidEasterEggs", "developers": [ diff --git a/app/licences/libraries/libchecker.json b/app/licences/libraries/libchecker.json index 4c6d340..9e90b4b 100644 --- a/app/licences/libraries/libchecker.json +++ b/app/licences/libraries/libchecker.json @@ -1,5 +1,5 @@ { - "uniqueId": "com.absinthe.libchecker:2.5.0", + "uniqueId": "com.absinthe.libchecker", "artifactVersion": "2.5.0", "name": "LibChecker", "developers": [ diff --git a/app/licences/libraries/lotus.json b/app/licences/libraries/lotus.json new file mode 100644 index 0000000..11ad7b4 --- /dev/null +++ b/app/licences/libraries/lotus.json @@ -0,0 +1,16 @@ +{ + "uniqueId": "com.dn0ne.player", + "artifactVersion": "0.11.1", + "name": "Lotus", + "developers": [ + { + "name": "dn0ne" + } + ], + "description": "Music player for Android", + "website": "https://github.com/dn0ne/lotus", + "tag": "custom", + "licenses": [ + "GPL-3.0-or-later" + ] +} \ No newline at end of file diff --git a/app/licences/libraries/mauth.json b/app/licences/libraries/mauth.json index 3a58df7..ffa329d 100644 --- a/app/licences/libraries/mauth.json +++ b/app/licences/libraries/mauth.json @@ -1,5 +1,5 @@ { - "uniqueId": "com.xinto.mauth:0.9.0", + "uniqueId": "com.xinto.mauth", "artifactVersion": "0.9.0", "name": "Mauth", "developers": [ diff --git a/app/licences/libraries/readyou.json b/app/licences/libraries/readyou.json index 3ef049f..3086d86 100644 --- a/app/licences/libraries/readyou.json +++ b/app/licences/libraries/readyou.json @@ -1,5 +1,5 @@ { - "uniqueId": "me.ash.reader:0.11.1", + "uniqueId": "me.ash.reader", "artifactVersion": "0.11.1", "name": "Read You", "developers": [ diff --git a/app/licences/libraries/skipad.json b/app/licences/libraries/skipad.json index 4374c79..71477a7 100644 --- a/app/licences/libraries/skipad.json +++ b/app/licences/libraries/skipad.json @@ -1,5 +1,5 @@ { - "uniqueId": "com.github.crayonxiaoxin.abc:1.0.1", + "uniqueId": "com.github.crayonxiaoxin.abc", "artifactVersion": "1.0.1", "name": "SkipAD", "developers": [ diff --git a/app/schemas/cn.super12138.todo.logic.database.TodoDatabase/2.json b/app/schemas/cn.super12138.todo.logic.database.TodoDatabase/2.json new file mode 100644 index 0000000..34c782e --- /dev/null +++ b/app/schemas/cn.super12138.todo.logic.database.TodoDatabase/2.json @@ -0,0 +1,58 @@ +{ + "formatVersion": 1, + "database": { + "version": 2, + "identityHash": "9bc6582a67d9172690c0c4be3ef2d724", + "entities": [ + { + "tableName": "todo", + "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`content` TEXT NOT NULL, `subject` INTEGER NOT NULL, `completed` INTEGER NOT NULL, `priority` REAL NOT NULL, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)", + "fields": [ + { + "fieldPath": "content", + "columnName": "content", + "affinity": "TEXT", + "notNull": true + }, + { + "fieldPath": "subject", + "columnName": "subject", + "affinity": "INTEGER", + "notNull": true + }, + { + "fieldPath": "isCompleted", + "columnName": "completed", + "affinity": "INTEGER", + "notNull": true + }, + { + "fieldPath": "priority", + "columnName": "priority", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "id", + "columnName": "id", + "affinity": "INTEGER", + "notNull": true + } + ], + "primaryKey": { + "autoGenerate": true, + "columnNames": [ + "id" + ] + }, + "indices": [], + "foreignKeys": [] + } + ], + "views": [], + "setupQueries": [ + "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", + "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '9bc6582a67d9172690c0c4be3ef2d724')" + ] + } +} \ No newline at end of file diff --git a/app/src/main/kotlin/cn/super12138/todo/constants/GlobalValues.kt b/app/src/main/kotlin/cn/super12138/todo/constants/GlobalValues.kt index 53c5fb6..9a20c79 100644 --- a/app/src/main/kotlin/cn/super12138/todo/constants/GlobalValues.kt +++ b/app/src/main/kotlin/cn/super12138/todo/constants/GlobalValues.kt @@ -1,6 +1,7 @@ package cn.super12138.todo.constants import cn.super12138.todo.utils.SPDelegates +import cn.super12138.todo.utils.SPUtils object GlobalValues { var dynamicColor: Boolean by SPDelegates(