Skip to content

Commit

Permalink
Revert "Remove custom widgets from release build (#3462)"
Browse files Browse the repository at this point in the history
This reverts commit 1148294.
  • Loading branch information
bgoncal authored Feb 27, 2025
1 parent d3a4a45 commit 0bbdb1b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Sources/App/Settings/SettingsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,10 @@ class SettingsViewController: HAFormViewController {
}

if contentSections.contains(.integrations) {
let featuresSection = Section()
form +++ Section()
<<< SettingsRootDataSource.Row.sensors.row
<<< SettingsRootDataSource.Row.nfc.row

#if DEBUG
featuresSection <<< SettingsRootDataSource.Row.widgets.row
#endif
form +++ featuresSection
<<< SettingsRootDataSource.Row.widgets.row
}

// Display Apple Watch section only for devices that make sense
Expand Down

0 comments on commit 0bbdb1b

Please sign in to comment.