fix: add default colors and icons

This commit is contained in:
Rafal Wisniewski
2026-05-06 14:01:46 +02:00
parent dae0212cf9
commit ae5394aa59
3 changed files with 18 additions and 13 deletions

View File

@@ -153,16 +153,16 @@ private class DatabasePrepopulator(
name = "Hotel", icon = Icons.HOTEL, color = colors.random() name = "Hotel", icon = Icons.HOTEL, color = colors.random()
), ),
Category( Category(
name = "Jedzenie", icon = Icons.RESTAURANT, color = colors.random() name = "Restaurants", icon = Icons.RESTAURANT, color = colors.random()
), ),
Category( Category(
name = "Transport", icon = Icons.FLIGHT, color = colors.random() name = "Transport", icon = Icons.FLIGHT, color = colors.random()
), ),
Category( Category(
name = "Rozrywka", icon = Icons.ATTRACTION, color = colors.random() name = "Entertainment", icon = Icons.ATTRACTION, color = colors.random()
), ),
Category( Category(
name = "Zakupy", icon = Icons.GROCERIES, color = colors.random() name = "Groceries", icon = Icons.GROCERIES, color = colors.random()
), ),
Category( Category(
name = "Zakupy1", icon = Icons.GROCERIES, color = colors.random() name = "Zakupy1", icon = Icons.GROCERIES, color = colors.random()

View File

@@ -1,15 +1,15 @@
package cc.n0th1ng.tripmoney.utils package cc.n0th1ng.tripmoney.utils
val colors: List<String> = listOf( val colors: List<String> = listOf(
"#af1b3f",
"#083D77", "#083D77",
"#5998c5", "#0B7189",
"#f7934c",
"#ec0b43",
"#87A330",
"#6F8AB7",
"#F26CA7",
"#5E4AE3",
"#2A7F62", "#2A7F62",
"#0B7189" "#5998c5",
"#5E4AE3",
"#6F8AB7",
"#87A330",
"#F26CA7",
"#af1b3f",
"#ec0b43",
"#f7934c"
) )

View File

@@ -14,5 +14,10 @@ enum class Icons(@DrawableRes val resource: Int) {
COFFEE(R.drawable.materialsymbols_ic_local_cafe_outlined), COFFEE(R.drawable.materialsymbols_ic_local_cafe_outlined),
GENERAL(R.drawable.materialsymbols_ic_shoppingmode_outlined), GENERAL(R.drawable.materialsymbols_ic_shoppingmode_outlined),
ENTERTAINMENT(R.drawable.materialsymbols_ic_theaters_outlined), ENTERTAINMENT(R.drawable.materialsymbols_ic_theaters_outlined),
LAUNDRY(R.drawable.materialsymbols_ic_local_laundry_service_outlined) LAUNDRY(R.drawable.materialsymbols_ic_local_laundry_service_outlined),
INSURANCE(R.drawable.materialsymbols_ic_health_and_safety_outlined),
SIM_DATA(R.drawable.materialsymbols_ic_sim_card_outlined),
CAR_RENTAL(R.drawable.materialsymbols_ic_directions_car_outlined),
FUEL(R.drawable.materialsymbols_ic_local_gas_station_outlined),
TOURS(R.drawable.materialsymbols_ic_tour_outlined)
} }