Skip to content

Commit

Permalink
[code] fix missing updated keys
Browse files Browse the repository at this point in the history
  • Loading branch information
BrightDV committed Jul 4, 2024
1 parent 68dbadb commit 23fdcb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/helpers/driver_result_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class DriverResultItem extends StatelessWidget {
bool useDarkMode =
Hive.box('settings').get('darkMode', defaultValue: true) as bool;
String raceResultsLastSavedFormat = Hive.box('requests')
.get('raceResultsLastSavedFormat', defaultValue: 'ergast');
.get('f1RaceResultsLastSavedFormat', defaultValue: 'ergast');
Color finalTeamColors = getTeamColors(item.team);
return GestureDetector(
behavior: HitTestBehavior.translucent,
Expand Down Expand Up @@ -279,7 +279,7 @@ class RaceDriversResultsList extends StatelessWidget {
@override
Widget build(BuildContext context) {
String raceResultsLastSavedFormat = Hive.box('requests')
.get('raceResultsLastSavedFormat', defaultValue: 'ergast');
.get('f1RaceResultsLastSavedFormat', defaultValue: 'ergast');
return ListView.builder(
scrollDirection: Axis.vertical,
shrinkWrap: true,
Expand Down

0 comments on commit 23fdcb3

Please sign in to comment.