Skip to content

Commit

Permalink
fix de derniere seconde
Browse files Browse the repository at this point in the history
  • Loading branch information
Lowa committed Feb 11, 2024
1 parent 9d10540 commit b202280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ String getModeImage(Brightness brightness, line) {

String img = 'assets/img/icons/';
String mode = '';
if (line['agency']['name'] == 'Noctilien') {
if (line['agency'] != null && line['agency']['name'] == 'Noctilien') {
mode = 'noctilien';
} else {
for (var allowes in listModes.entries) {
Expand Down

0 comments on commit b202280

Please sign in to comment.