Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
0d40a8abb0 | |||
0804791bd2 | |||
5d5414d51d | |||
046c6a6ae0 | |||
1b0c6982e8 | |||
3080e98caa | |||
d0b3b9a663 | |||
9382e7adde |
@ -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 {
|
||||
|
@ -2,6 +2,9 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:dataExtractionRules="@xml/data_extraction_rules"
|
||||
|
@ -171,11 +171,10 @@ 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_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_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_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
|
||||
|
@ -15,10 +15,9 @@ 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,
|
||||
@ -29,6 +28,7 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user