WT1.1.0+41 error fixing
This commit is contained in:
@@ -49,7 +49,7 @@ class MenuBloc extends Bloc<MenuEvent, MenuState> with Trans, Logging {
|
||||
}
|
||||
if (context == null) return;
|
||||
percent = percent * 100;
|
||||
log("Percent " + percent.toString());
|
||||
//log("Percent " + percent.toString());
|
||||
if (percent == -1 || percent == 0) {
|
||||
infoTitle = t("Greetings!");
|
||||
infoText = t("The purpose is to measure you physical condition") +
|
||||
@@ -66,6 +66,10 @@ class MenuBloc extends Bloc<MenuEvent, MenuState> with Trans, Logging {
|
||||
infoTitle = t("Persistence!") + " " + t("Not so much left");
|
||||
} else if (percent > 80 && percent < 100) {
|
||||
infoTitle = t("Almost!") + " " + t("You have only 1-2 exercise left to finish!");
|
||||
} else {
|
||||
infoTitle = t("Congratulation!");
|
||||
infoText2 = t("You have achieved to first 100% test-round!");
|
||||
infoText3 = t("Now you unlocked: Development By Muscles and the Suggested Trainings Plan");
|
||||
}
|
||||
|
||||
menuTreeRepository.sortByMuscleType();
|
||||
|
||||
Reference in New Issue
Block a user