Fix timezone selection

This commit is contained in:
Juan Gilsanz Polo 2024-01-26 21:33:41 +01:00
parent 770366eae6
commit 91e3ea44f6
3 changed files with 4 additions and 3 deletions

View file

@ -64,7 +64,6 @@ class _BlockingScheduleModalState extends State<BlockingScheduleModal> {
@override
void initState() {
tz.initializeTimeZones();
_timezone = tz.local.name;
if (widget.schedule != null) {
_timezone = widget.schedule!.timezone;
_weekdays = widget.schedule!.weekday;