Small fix

This commit is contained in:
2025-06-09 18:55:49 +03:00
parent 0cc4b26983
commit f9e95a6df5
3 changed files with 13 additions and 5 deletions
-5
View File
@@ -1,5 +0,0 @@
targets:
$default:
builders:
hive_ce_generator|hive_schema_migrator:
enabled: true
+8
View File
@@ -9,18 +9,21 @@ class CategoryUtils {
return [
// Категории доходов
Category(
id: 'income_salary',
name: 'Зарплата',
color: Colors.green,
icon: Icons.attach_money,
isIncome: true,
),
Category(
id: 'income_gift',
name: 'Подарки',
color: Colors.blue,
icon: Icons.card_giftcard,
isIncome: true,
),
Category(
id: 'income_freelance',
name: 'Фриланс',
color: Colors.teal,
icon: Icons.computer,
@@ -29,30 +32,35 @@ class CategoryUtils {
// Категории расходов
Category(
id: 'expense_food',
name: 'Еда',
color: Colors.red,
icon: Icons.fastfood,
isIncome: false,
),
Category(
id: 'expense_transport',
name: 'Транспорт',
color: Colors.orange,
icon: Icons.directions_car,
isIncome: false,
),
Category(
id: 'expense_entertainment',
name: 'Развлечения',
color: Colors.purple,
icon: Icons.movie,
isIncome: false,
),
Category(
id: 'expense_utilities',
name: 'Коммунальные',
color: Colors.blueGrey,
icon: Icons.home,
isIncome: false,
),
Category(
id: 'expense_shopping',
name: 'Покупки',
color: Colors.pink,
icon: Icons.shopping_bag,
+5
View File
@@ -6,18 +6,23 @@ class TagUtils {
static List<Tag> getDefaultTags() {
return [
Tag(
id: 'tag_important',
name: 'Важное',
),
Tag(
id: 'tag_work',
name: 'Работа',
),
Tag(
id: 'tag_family',
name: 'Семья',
),
Tag(
id: 'tag_friends',
name: 'Друзья',
),
Tag(
id: 'tag_holiday',
name: 'Отпуск',
),
];