Skip to content

Commit

Permalink
fix: fixed hiding "Sensor to show" when toggle "HID sensors" or "Show…
Browse files Browse the repository at this point in the history
… unknown sensors" in the sensors module (#2390)
  • Loading branch information
exelban committed Feb 13, 2025
1 parent 61c5e0d commit 136a31d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Modules/Sensors/settings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,6 @@ internal class Settings: NSStackView, Settings_v {
if let row = self.sensorsPrefs?.findRow("active_sensor") {
if !widgets.isEmpty {
self.sensorsPrefs?.setRowVisibility(row, newState: widgets.contains(where: { $0 == .mini }))
} else {
self.sensorsPrefs?.setRowVisibility(row, newState: false)
}
row.replaceComponent(with: selectView(
action: #selector(self.handleSelection),
Expand Down

0 comments on commit 136a31d

Please sign in to comment.