Skip to content

Commit

Permalink
Restore list color order for broadcast players
Browse files Browse the repository at this point in the history
  • Loading branch information
julien4215 committed Dec 12, 2024
1 parent 0b99e6b commit cf3a3de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/src/view/broadcast/broadcast_player_results_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -232,12 +232,12 @@ class _Body extends ConsumerWidget {
},
child: ColoredBox(
color: Theme.of(context).platform == TargetPlatform.iOS
? (index - 1).isEven
? index.isEven
? CupertinoColors.secondarySystemBackground
.resolveFrom(context)
: CupertinoColors.tertiarySystemBackground
.resolveFrom(context)
: (index - 1).isEven
: index.isEven
? Theme.of(context)
.colorScheme
.surfaceContainerLow
Expand Down
4 changes: 2 additions & 2 deletions lib/src/view/broadcast/broadcast_players_tab.dart
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,12 @@ class _PlayersListState extends ConsumerState<PlayersList> {
},
child: ColoredBox(
color: Theme.of(context).platform == TargetPlatform.iOS
? (index - 1).isEven
? index.isEven
? CupertinoColors.secondarySystemBackground
.resolveFrom(context)
: CupertinoColors.tertiarySystemBackground
.resolveFrom(context)
: (index - 1).isEven
: index.isEven
? Theme.of(context).colorScheme.surfaceContainerLow
: Theme.of(context).colorScheme.surfaceContainerHigh,
child: Row(
Expand Down

0 comments on commit cf3a3de

Please sign in to comment.