mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
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:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -199,6 +199,7 @@ public class Disk: Module {
|
||||
|
||||
public init() {
|
||||
super.init(
|
||||
moduleType: .disk,
|
||||
popup: self.popupView,
|
||||
settings: self.settingsView,
|
||||
portal: self.portalView,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user