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