Skip to content

Commit 84157d8

Browse files
committed
fix: app bar colors for reports_view.dart
1 parent 37dc8b5 commit 84157d8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/app/modules/home/views/tas_list_item.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ class TaskListItem extends StatelessWidget {
2929

3030
@override
3131
Widget build(BuildContext context) {
32-
// ignore: unused_element
3332
TaskwarriorColorTheme tColors = Theme.of(context).extension<TaskwarriorColorTheme>()!;
33+
// ignore: unused_element
3434
void saveChanges() async {
3535
var now = DateTime.now().toUtc();
3636
modify.save(

lib/app/utils/constants/taskwarrior_colors.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ class TaskWarriorColors {
1919
static Color deepPurple = Colors.deepPurple;
2020

2121
// colors irrespective of theme
22-
static Color appBarColor = Color(0x000);
22+
static Color appBarColor = const Color(0xFF000000);
2323
static Color appBarTextColor = white;
24-
static Color appBarUnSelectedIconsColorForReports = Color(0xFF48454E);
24+
static Color appBarUnSelectedIconsColorForReports = const Color(0xFF48454E);
2525

2626
// Dark Theme Color Palette
2727
static Color kprimaryBackgroundColor = Palette.kToDark.shade200;

0 commit comments

Comments
 (0)