Skip to content

Commit

Permalink
Easter?
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlVS committed Oct 12, 2023
1 parent cae3b68 commit ead91e9
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'dart:async';
import 'dart:io';
import 'package:flutter/foundation.dart';
import 'package:intl/intl.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
Expand Down Expand Up @@ -431,9 +432,11 @@ Future<void> _showInProgressDialog(BuildContext context) async {

final localisations = AppLocalizations.of(context);

final etaString = state?.eta?.inMinutes == null
? null
: '${state.eta.inMinutes}${localisations.minutes}';
final etaString = state?.eta?.inMinutes != null
? '${state.eta.inMinutes}${localisations.minutes}'
: kDebugMode
? \\_(ツ)_/¯'
: null;
return AlertDialog(
title: Text(
'${localisations.warning}: '
Expand Down

0 comments on commit ead91e9

Please sign in to comment.