Browse Source

Rollback!

pull/92/head
Abhishek 4 years ago
parent
commit
e98e0476d4
  1. 8
      Clocker/Preferences/Calendar/CalendarViewController.swift

8
Clocker/Preferences/Calendar/CalendarViewController.swift

@ -81,12 +81,8 @@ class CalendarViewController: ParentViewController {
super.viewWillAppear()
verifyCalendarAccess()
if DataStore.shared().shouldDisplay(ViewType.upcomingEventView) {
showSegmentedControl.selectedSegment = 0
} else {
showSegmentedControl.selectedSegment = 1
}
showSegmentedControl.selectedSegment = DataStore.shared().shouldDisplay(ViewType.upcomingEventView) ? 0 : 1
showNextMeetingInMenubarControl.isEnabled = DataStore.shared().shouldDisplay(.menubarCompactMode) ? false : true
}
private func verifyCalendarAccess() {

Loading…
Cancel
Save