mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: adjust the order of sensors in the settings to be the same as in the popup view
This commit is contained in:
@@ -98,8 +98,8 @@ internal class Settings: NSStackView, Settings_v {
|
||||
)
|
||||
container.spacing = 0
|
||||
|
||||
groups.reversed().forEach { (group: SensorGroup) in
|
||||
filtered.reversed().filter{ $0.group == group }.forEach { (s: Sensor_p) in
|
||||
groups.forEach { (group: SensorGroup) in
|
||||
filtered.filter{ $0.group == group }.forEach { (s: Sensor_p) in
|
||||
let row: NSView = toggleSettingRow(
|
||||
title: s.name,
|
||||
action: #selector(self.handleSelection),
|
||||
|
||||
Reference in New Issue
Block a user