diff --git a/build.yaml b/build.yaml index 87b41f8..e69de29 100644 --- a/build.yaml +++ b/build.yaml @@ -1,5 +0,0 @@ -targets: - $default: - builders: - hive_ce_generator|hive_schema_migrator: - enabled: true \ No newline at end of file diff --git a/lib/utils/category_utils.dart b/lib/utils/category_utils.dart index dd25035..4461a95 100644 --- a/lib/utils/category_utils.dart +++ b/lib/utils/category_utils.dart @@ -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, diff --git a/lib/utils/tag_utils.dart b/lib/utils/tag_utils.dart index 5b4b01c..06aa5d5 100644 --- a/lib/utils/tag_utils.dart +++ b/lib/utils/tag_utils.dart @@ -6,18 +6,23 @@ class TagUtils { static List 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: 'Отпуск', ), ];