Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksandra Fedotova committed Oct 17, 2022
1 parent 53ac92f commit bd290e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ios/Classes/SwiftDeviceCalendarPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -815,12 +815,12 @@ public class SwiftDeviceCalendarPlugin: NSObject, FlutterPlugin, EKEventViewDele
ekEvent!.notes = description
ekEvent!.isAllDay = isAllDay
ekEvent!.startDate = startDate
ekEvent!.endDate = endDate
ekEvent!.endDate = endDate

if (!isAllDay) {
let timeZone = TimeZone(identifier: startTimeZoneString ?? TimeZone.current.identifier) ?? .current
let timeZone = TimeZone(identifier: startTimeZoneString ?? TimeZone.current.identifier) ?? .current
ekEvent!.timeZone = timeZone
}
}

ekEvent!.calendar = ekCalendar!
ekEvent!.location = location
Expand Down

0 comments on commit bd290e8

Please sign in to comment.