refactor: Update color handling to use ARGB format and improve theme consistency
This commit is contained in:
@@ -61,10 +61,10 @@ class MenuDrawer extends StatelessWidget {
|
||||
? null
|
||||
: () => onEditCategory?.call(category),
|
||||
iconColor: Color(
|
||||
category.colorValue ?? palette.accent.value,
|
||||
category.colorValue ?? palette.accent.toARGB32(),
|
||||
),
|
||||
textColor: Color(
|
||||
category.colorValue ?? palette.accent.value,
|
||||
category.colorValue ?? palette.accent.toARGB32(),
|
||||
),
|
||||
trailing: IconButton(
|
||||
padding: const EdgeInsets.all(8),
|
||||
|
||||
Reference in New Issue
Block a user