Skip to content

Commit 871e2df

Browse files
authored
Revert "Remove custom widgets from release build" (#3465)
Reverts #3462
1 parent d3a4a45 commit 871e2df

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Sources/App/Settings/SettingsViewController.swift

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,10 @@ class SettingsViewController: HAFormViewController {
117117
}
118118

119119
if contentSections.contains(.integrations) {
120-
let featuresSection = Section()
120+
form +++ Section()
121121
<<< SettingsRootDataSource.Row.sensors.row
122122
<<< SettingsRootDataSource.Row.nfc.row
123-
124-
#if DEBUG
125-
featuresSection <<< SettingsRootDataSource.Row.widgets.row
126-
#endif
127-
form +++ featuresSection
123+
<<< SettingsRootDataSource.Row.widgets.row
128124
}
129125

130126
// Display Apple Watch section only for devices that make sense

0 commit comments

Comments
 (0)