mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
fix: fixed battery high level notification ID (#1743)
This commit is contained in:
@@ -75,7 +75,7 @@ class Notifications: NotificationsWrapper {
|
||||
if value.timeToCharge > 0 {
|
||||
subtitle += " (\(Double(value.timeToCharge*60).printSecondsToHoursMinutesSeconds()))"
|
||||
}
|
||||
self.checkDouble(id: self.lowID, value: value.level, threshold: threshold, title: title, subtitle: subtitle)
|
||||
self.checkDouble(id: self.highID, value: value.level, threshold: threshold, title: title, subtitle: subtitle)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user