feat: changed the icon and behavior of the button in the popup header for the calendar module to open the default macOS calendar app (#2227)

This commit is contained in:
Serhiy Mytrovtsiy
2024-12-13 12:49:30 +01:00
parent 6d1baa5926
commit 1093b27fb2
17 changed files with 72 additions and 17 deletions

View File

@@ -61,6 +61,7 @@ public class Battery: Module {
self.notificationsView = Notifications(.battery)
super.init(
moduleType: .battery,
popup: self.popupView,
settings: self.settingsView,
portal: self.portalView,

View File

@@ -85,6 +85,7 @@ public class Bluetooth: Module {
self.notificationsView = Notifications(.bluetooth)
super.init(
moduleType: .bluetooth,
popup: self.popupView,
settings: self.settingsView,
notifications: self.notificationsView

View File

@@ -90,6 +90,7 @@ public class CPU: Module {
self.notificationsView = Notifications(.CPU)
super.init(
moduleType: .CPU,
popup: self.popupView,
settings: self.settingsView,
portal: self.portalView,

View File

@@ -74,6 +74,7 @@ public class Clock: Module {
self.portalView = Portal(.clock, list: Clock.list)
super.init(
moduleType: .clock,
popup: self.popupView,
settings: self.settingsView,
portal: self.portalView

View File

@@ -199,6 +199,7 @@ public class Disk: Module {
public init() {
super.init(
moduleType: .disk,
popup: self.popupView,
settings: self.settingsView,
portal: self.portalView,

View File

@@ -87,6 +87,7 @@ public class GPU: Module {
self.notificationsView = Notifications(.GPU)
super.init(
moduleType: .GPU,
popup: self.popupView,
settings: self.settingsView,
portal: self.portalView,

View File

@@ -156,6 +156,7 @@ public class Network: Module {
self.portalView = Portal(.network)
super.init(
moduleType: .network,
popup: self.popupView,
settings: self.settingsView,
portal: self.portalView

View File

@@ -96,6 +96,7 @@ public class RAM: Module {
self.notificationsView = Notifications(.RAM)
super.init(
moduleType: .RAM,
popup: self.popupView,
settings: self.settingsView,
portal: self.portalView,

View File

@@ -33,6 +33,7 @@ public class Sensors: Module {
self.selectedSensor = Store.shared.string(key: "\(ModuleType.sensors.rawValue)_sensor", defaultValue: "Average System Total")
super.init(
moduleType: .sensors,
popup: self.popupView,
settings: self.settingsView,
portal: self.portalView,