mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: moved RAM notification settings to the new selectors
This commit is contained in:
@@ -36,7 +36,7 @@ class Notifications: NotificationsWrapper {
|
||||
self.addArrangedSubview(PreferencesSection([
|
||||
PreferencesRow(localizedString("Usage"), component: PreferencesSwitch(
|
||||
action: self.toggleUsage, state: self.usageState,
|
||||
with: StepperInput(self.usageLevel, range: NSRange(location: 1, length: 99), symbol: "%", callback: self.changeUsage)
|
||||
with: StepperInput(self.usageLevel, callback: self.changeUsage)
|
||||
))
|
||||
]))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user