Skip to content

Commit

Permalink
Fix merges
Browse files Browse the repository at this point in the history
  • Loading branch information
jsondergaard committed Nov 16, 2023
1 parent 9d5149e commit c4fe6b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions lib/screens/show_activity_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -646,16 +646,6 @@ class ShowActivityScreen extends StatelessWidget {
),
);
}
// Give message after stopping timer
void _showToast(String message) {
Fluttertoast.showToast(
msg: message,
gravity: ToastGravity.CENTER,
timeInSecForIosWeb: 1,
backgroundColor: Colors.black,
textColor: Colors.white,
);
}

// Give message after stopping timer
void _showToast(String message) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ class WeekplanDayColumn extends StatelessWidget {
_timerBloc[index].addHandlerToRunningModeOnce();
_timerBloc[index].initTimer();

if (activistModel.timer == null || activistModel.chosenActivity != null) {
if (activistModel.timer == null) {
_activityBloc.completeActivity();
} else {
_timerBloc[index].playTimer();
Expand Down

0 comments on commit c4fe6b5

Please sign in to comment.