Skip to content

Commit 48d5357

Browse files
committed
[live indicator] improve light mode #68
1 parent 94d0e6f commit 48d5357

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

lib/helpers/live_session_status_indicator.dart

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,12 @@ class EventTrackerItem extends StatelessWidget {
9898
child: GestureDetector(
9999
child: Container(
100100
height: 146,
101-
decoration: const BoxDecoration(
102-
borderRadius: BorderRadius.all(
103-
Radius.circular(5),
101+
decoration: BoxDecoration(
102+
borderRadius: const BorderRadius.only(
103+
bottomLeft: Radius.circular(5),
104+
bottomRight: Radius.circular(5),
104105
),
105-
color: Color(0xff1d1d28),
106+
color: useDarkMode ? const Color(0xff1d1d28) : Colors.black,
106107
),
107108
child: Column(
108109
mainAxisAlignment: MainAxisAlignment.center,
@@ -188,8 +189,8 @@ class EventTrackerItem extends StatelessWidget {
188189
),
189190
),
190191
child: Row(
191-
children: [
192-
const Padding(
192+
children: const [
193+
Padding(
193194
padding: EdgeInsets.all(10),
194195
child: Text(
195196
'RACE HUB',
@@ -198,10 +199,10 @@ class EventTrackerItem extends StatelessWidget {
198199
),
199200
),
200201
),
201-
const Spacer(),
202+
Spacer(),
202203
Icon(
203204
Icons.arrow_forward_rounded,
204-
color: useDarkMode ? Colors.white : Colors.black,
205+
color: Colors.white,
205206
),
206207
],
207208
),

0 commit comments

Comments
 (0)