WT1.1.2e error fixes

This commit is contained in:
bossanyit
2020-10-29 15:21:24 +01:00
parent 7f8eabfb0e
commit 8f651ceb0d
27 changed files with 142 additions and 880 deletions
+4
View File
@@ -35,6 +35,10 @@ class MenuBloc extends Bloc<MenuEvent, MenuState> with Trans {
void setMenuInfo() {
double percent = Cache().getPercentExercises();
if ( percent == -1 ) {
exerciseRepository.getBaseExerciseFinishedPercent();
percent = Cache().getPercentExercises();
}
if ( context == null ) return;
percent = percent * 100;
print("Percent " + percent.toString());