Skip to content

Commit

Permalink
Merge pull request #35 from a-mabe/fix-halfway
Browse files Browse the repository at this point in the history
Fix halfway time selection
  • Loading branch information
a-mabe authored Jul 11, 2023
2 parents f173c94 + f88825c commit 46a49f1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions lib/create_workout/set_timings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,7 @@ class _SetTimingsState extends State<SetTimings> {
workoutArgument.exerciseTime = exerciseTime;
workoutArgument.restTime = restTime;
workoutArgument.halfTime = halfTime;
workoutArgument.halfwayMark = workoutArgument.halfwayMark == false ? 0 : 1;

// ScaffoldMessenger.of(context).showSnackBar(
// SnackBar(
// content: Text(
// "${workoutArgument.restTime} + ${workoutArgument.exerciseTime}")),
// );
workoutArgument.halfwayMark = halfwayMark == false ? 0 : 1;

if (workoutArgument.id == "") {
// Set the workout ID
Expand Down

0 comments on commit 46a49f1

Please sign in to comment.