WT1.1.5+3 bug fixes

This commit is contained in:
bossanyit
2021-02-02 15:27:46 +01:00
parent c1a57dd10e
commit 366cf7f8a8
12 changed files with 80 additions and 43 deletions
+29 -2
View File
@@ -275,10 +275,37 @@ class _ExerciseControlPage extends State<ExerciseControlPage> with Trans {
title,
style: GoogleFonts.inter(color: Colors.yellow[300], fontSize: 18, fontWeight: FontWeight.bold),
),
Text(
RichText(
text: TextSpan(
style: GoogleFonts.inter(
fontSize: 16,
fontWeight: FontWeight.normal,
color: Colors.yellow[300],
),
children: [
TextSpan(text: t("Please repeat with ")),
TextSpan(
text: exerciseBloc.unitQuantity.toStringAsFixed(0) + " " + exerciseBloc.exerciseRepository.exerciseType.unitQuantityUnit,
style: GoogleFonts.inter(
fontSize: 16,
fontWeight: FontWeight.bold,
color: Colors.yellow[400],
),
),
TextSpan(
text: t("hu_with") +
" " +
strTimes +
" " +
t(
"times!",
))
]),
),
/* Text(
textInstruction,
style: GoogleFonts.inter(color: Colors.yellow[300], fontSize: 16),
),
), */
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
+1 -1
View File
@@ -379,7 +379,7 @@ class _ExerciseNewPageState extends State<ExerciseNewPage> with Trans, Logging {
),
Divider(),
Divider(),
Text("Or type the time manually:", style: GoogleFonts.inter(color: Colors.white)),
Text(t("Or type the time manually:"), style: GoogleFonts.inter(color: Colors.white)),
TimePickerWidget(
onChange: (value) => {print("timer"), bloc.add(ExerciseNewQuantityChange(quantity: value))},
)