Skip to content

Commit

Permalink
[live indicator] improve light mode #68
Browse files Browse the repository at this point in the history
  • Loading branch information
BrightDV committed Mar 5, 2023
1 parent 94d0e6f commit 48d5357
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions lib/helpers/live_session_status_indicator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,12 @@ class EventTrackerItem extends StatelessWidget {
child: GestureDetector(
child: Container(
height: 146,
decoration: const BoxDecoration(
borderRadius: BorderRadius.all(
Radius.circular(5),
decoration: BoxDecoration(
borderRadius: const BorderRadius.only(
bottomLeft: Radius.circular(5),
bottomRight: Radius.circular(5),
),
color: Color(0xff1d1d28),
color: useDarkMode ? const Color(0xff1d1d28) : Colors.black,
),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
Expand Down Expand Up @@ -188,8 +189,8 @@ class EventTrackerItem extends StatelessWidget {
),
),
child: Row(
children: [
const Padding(
children: const [
Padding(
padding: EdgeInsets.all(10),
child: Text(
'RACE HUB',
Expand All @@ -198,10 +199,10 @@ class EventTrackerItem extends StatelessWidget {
),
),
),
const Spacer(),
Spacer(),
Icon(
Icons.arrow_forward_rounded,
color: useDarkMode ? Colors.white : Colors.black,
color: Colors.white,
),
],
),
Expand Down

0 comments on commit 48d5357

Please sign in to comment.