From 33af55c28dd7bad456df06fdc90b80213c437483 Mon Sep 17 00:00:00 2001 From: Faiz Hashmi Date: Tue, 31 Jan 2023 11:41:04 +0300 Subject: [PATCH] some fixes while testing --- lib/ui/marathon/marathon_screen.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/ui/marathon/marathon_screen.dart b/lib/ui/marathon/marathon_screen.dart index e5da2c1..22a15de 100644 --- a/lib/ui/marathon/marathon_screen.dart +++ b/lib/ui/marathon/marathon_screen.dart @@ -169,7 +169,6 @@ class MarathonScreen extends StatelessWidget { ], ) : const SizedBox(), - 34.height, if (provider.selectedWinners != null) ...[ provider.selectedWinners!.length == 1 ? Column( @@ -310,7 +309,7 @@ class MarathonScreen extends StatelessWidget { else ...[ MarathonProgressContainer(provider: provider).paddingOnly(left: 21, right: 21), ], - if (provider.questionCardStatus == QuestionCardStatus.findingWinner) ...[ + if (provider.questionCardStatus == QuestionCardStatus.findingWinner && !provider.isUserOutOfGame) ...[ getNameContainer(context), ], QuestionCardBuilder( @@ -337,7 +336,7 @@ class MarathonScreen extends StatelessWidget { subTitle: LocaleKeys.youMissedTheQuestion.tr().toText18(color: MyColors.darkTextColor, isCentered: true), ), onFindingWinner: (BuildContext context) => CustomStatusWidget( - asset: Lottie.asset(MyLottieConsts.winnerLottie, height: 168, reverse: false), + asset: Lottie.asset(MyLottieConsts.winnerLottie, height: 168, reverse: false, repeat: true), title: LocaleKeys.fingersCrossed.tr().toText22(color: MyColors.greenColor), subTitle: LocaleKeys.winnerSelectedRandomly.tr().toText18(color: MyColors.darkTextColor, isCentered: true), ),