fix: aligned add category text in the middle

This commit is contained in:
Jacques 2025-02-17 16:03:08 +01:00
parent 1aa50292c7
commit cff28d13b5

View file

@ -176,7 +176,8 @@ class CategoryOption extends StatelessWidget {
padding: EdgeInsets.symmetric(
vertical: 16,
horizontal: addCategory ? 8 : 16,
),
).copyWith(top: addCategory ? 19 : 18),
child: Center(
child: Text(
category,
style: theme.textTheme.titleMedium?.copyWith(
@ -186,6 +187,7 @@ class CategoryOption extends StatelessWidget {
),
),
),
),
],
),
),