WT1.1.0+41 error fixing

This commit is contained in:
bossanyit
2020-12-29 13:20:35 +01:00
parent 9755cc764a
commit 2aecb9d431
22 changed files with 492 additions and 137 deletions
+5 -1
View File
@@ -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();