1 Commits

Author SHA1 Message Date
9382e7adde update: 升级版本1.4 2024-12-17 14:13:45 +08:00
3 changed files with 7 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ android {
minSdk = 26
targetSdk = 34
versionCode = 6
versionName = "1.3.0"
versionName = "1.4.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {

View File

@@ -171,10 +171,11 @@ abstract class BookkeepingDatabase : RoomDatabase() {
insertCategory(Category(name = "娱乐", type = TransactionType.EXPENSE, icon = R.drawable.ic_category_bar_24dp)) // "娱乐" to R.drawable.ic_category_bar_24dp
insertCategory(Category(name = "居住", type = TransactionType.EXPENSE, icon = R.drawable.ic_category_hotel_24dp)) // "居住" to R.drawable.ic_category_hotel_24dp
insertCategory(Category(name = "医疗", type = TransactionType.EXPENSE, icon = R.drawable.ic_category_medicine_24dp)) // "医疗" to R.drawable.ic_category_medicine_24dp
insertCategory(Category(name = "教育", type = TransactionType.EXPENSE, icon = R.drawable.ic_category_training_24dp)) // "教育" to R.drawable.ic_category_training_24dp
insertCategory(Category(name = "教育", type = TransactionType.EXPENSE, icon = R.drawable.ic_category_training_24dp)) // "培训" to R.drawable.ic_category_training_24dp
insertCategory(Category(name = "宠物", type = TransactionType.EXPENSE, icon = R.drawable.ic_category_pet_24dp)) // "宠物" to R.drawable.ic_category_pet_24dp
insertCategory(Category(name = "", type = TransactionType.EXPENSE, icon = R.drawable.ic_category_flower_24dp)) // "鲜花" to R.drawable.ic_category_flower_24dp
insertCategory(Category(name = "外卖", type = TransactionType.EXPENSE, icon = R.drawable.ic_category_delivery_24dp)) // "外卖" to R.drawable.ic_category_delivery_24dp
insertCategory(Category(name = "", type = TransactionType.EXPENSE, icon = R.drawable.ic_category_flower_24dp)) // "鲜花" to R.drawable.ic_category_flower_24dp
insertCategory(Category(name = "酒吧", type = TransactionType.EXPENSE, icon = R.drawable.ic_category_bar_24dp)) // "娱乐" to R.drawable.ic_category_bar_24dp
insertCategory(Category(name = "快递", type = TransactionType.EXPENSE, icon = R.drawable.ic_category_delivery_24dp)) // "外卖" to R.drawable.ic_category_delivery_24dp
insertCategory(Category(name = "数码", type = TransactionType.EXPENSE, icon = R.drawable.ic_category_digital_24dp)) // "数码" to R.drawable.ic_category_digital_24dp
insertCategory(Category(name = "化妆品", type = TransactionType.EXPENSE, icon = R.drawable.ic_category_cosmetics_24dp)) // "化妆品" to R.drawable.ic_category_cosmetics_24dp
insertCategory(Category(name = "水果", type = TransactionType.EXPENSE, icon = R.drawable.ic_category_fruit_24dp)) // "水果" to R.drawable.ic_category_fruit_24dp

View File

@@ -15,9 +15,10 @@ object IconManager {
"娱乐" to R.drawable.ic_category_bar_24dp,
"居住" to R.drawable.ic_category_hotel_24dp,
"医疗" to R.drawable.ic_category_medicine_24dp,
"教育" to R.drawable.ic_category_training_24dp,
"培训" to R.drawable.ic_category_training_24dp,
"宠物" to R.drawable.ic_category_pet_24dp,
"鲜花" to R.drawable.ic_category_flower_24dp,
"娱乐" to R.drawable.ic_category_bar_24dp,
"外卖" to R.drawable.ic_category_delivery_24dp,
"数码" to R.drawable.ic_category_digital_24dp,
"化妆品" to R.drawable.ic_category_cosmetics_24dp,
@@ -28,7 +29,6 @@ object IconManager {
"礼物" to R.drawable.ic_category_gift_24dp,
"其他" to R.drawable.ic_category_more_24dp,
"工资" to R.drawable.ic_category_membership_24dp,
"会员" to R.drawable.ic_category_membership_24dp,
"奖金" to R.drawable.ic_category_gift_24dp,
"投资" to R.drawable.ic_category_digital_24dp,
"其他" to R.drawable.ic_category_more_24dp