Skip to content

Commit

Permalink
🐛 Fix not building on older than master flutter because of barrierDis…
Browse files Browse the repository at this point in the history
…missible

This should work again with "older"/stable flutter versions.
Sorry!
  • Loading branch information
strifel committed Aug 2, 2020
1 parent bba01fe commit bba54b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Views/Calendar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ class _TableCalendarState extends State<_TableCalendar> with TickerProviderState

// Builds the list shown after a day has been selected
void _showEventListModal() {
showCupertinoDialog(context: context, builder: (context) {
showDialog(context: context, builder: (context) {
return CupertinoAlertDialog(
title: Text("Es gibt mehrere Termine"),
content: Column(
Expand All @@ -581,6 +581,6 @@ class _TableCalendarState extends State<_TableCalendar> with TickerProviderState
.toList(),
)
);
}, barrierDismissible: true);
});
}
}

0 comments on commit bba54b5

Please sign in to comment.