diff --git a/Clocker/Clocker/en.lproj/Panel.xib b/Clocker/Clocker/en.lproj/Panel.xib
index 5743bb1..0f5d7af 100755
--- a/Clocker/Clocker/en.lproj/Panel.xib
+++ b/Clocker/Clocker/en.lproj/Panel.xib
@@ -42,7 +42,7 @@
-
+
@@ -412,7 +412,7 @@
-
+
@@ -464,7 +464,7 @@
-
+
@@ -486,7 +486,7 @@
-
+
diff --git a/Clocker/Events and Reminders/EventCenter.swift b/Clocker/Events and Reminders/EventCenter.swift
index 72747f2..f07fb6b 100644
--- a/Clocker/Events and Reminders/EventCenter.swift
+++ b/Clocker/Events and Reminders/EventCenter.swift
@@ -34,6 +34,11 @@ class EventCenter: NSObject {
refetchAll()
}
+ deinit {
+ // Just to be super safe
+ NotificationCenter.default.removeObserver(self)
+ }
+
private func refetchAll() {
Logger.info("\nRefetching events from the store")
eventsForDate = [:]
diff --git a/Clocker/Panel/ParentPanelController+ModernSlider.swift b/Clocker/Panel/ParentPanelController+ModernSlider.swift
index 8a328d1..569e228 100644
--- a/Clocker/Panel/ParentPanelController+ModernSlider.swift
+++ b/Clocker/Panel/ParentPanelController+ModernSlider.swift
@@ -3,7 +3,7 @@
import CoreLoggerKit
import Foundation
-extension ParentPanelController: NSCollectionViewDataSource, NSCollectionViewDelegate {
+extension ParentPanelController: NSCollectionViewDataSource {
func collectionView(_: NSCollectionView, numberOfItemsInSection _: Int) -> Int {
return (96 * PanelConstants.modernSliderDaySupport * 2) + 1
}
diff --git a/Clocker/Panel/ParentPanelController.swift b/Clocker/Panel/ParentPanelController.swift
index 0f8f202..7b16f45 100644
--- a/Clocker/Panel/ParentPanelController.swift
+++ b/Clocker/Panel/ParentPanelController.swift
@@ -201,7 +201,6 @@ class ParentPanelController: NSWindowController {
if modernSlider != nil {
modernSlider.enclosingScrollView?.scrollerInsets = NSEdgeInsets(top: 0, left: 0, bottom: 100, right: 0)
- modernSlider.delegate = self
modernSlider.enclosingScrollView?.backgroundColor = NSColor.clear
modernSlider.postsBoundsChangedNotifications = true
NotificationCenter.default.addObserver(self,