From 0bbdb1b6540f8347ccbbd8ea6512b2918b46494f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Pantale=C3=A3o=20Gon=C3=A7alves?= <5808343+bgoncal@users.noreply.github.com> Date: Thu, 27 Feb 2025 03:52:50 +0100 Subject: [PATCH] Revert "Remove custom widgets from release build (#3462)" This reverts commit 1148294df7ac6edf6418af64e1b352395507369f. --- Sources/App/Settings/SettingsViewController.swift | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Sources/App/Settings/SettingsViewController.swift b/Sources/App/Settings/SettingsViewController.swift index 00d73f913..3b4e778b6 100644 --- a/Sources/App/Settings/SettingsViewController.swift +++ b/Sources/App/Settings/SettingsViewController.swift @@ -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