From f38dd6b19593c13b739afe9476bc43e346f727e9 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, 30 Jan 2025 15:01:28 +0100 Subject: [PATCH] Fix watch preview text (#3379) ## Summary ## Screenshots ## Link to pull request in Documentation repository Documentation: home-assistant/companion.home-assistant# ## Any other notes --- .../AppleWatch/HomeCustomization/WatchConfigurationView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/App/Settings/AppleWatch/HomeCustomization/WatchConfigurationView.swift b/Sources/App/Settings/AppleWatch/HomeCustomization/WatchConfigurationView.swift index 574efa3d2..765b223dd 100644 --- a/Sources/App/Settings/AppleWatch/HomeCustomization/WatchConfigurationView.swift +++ b/Sources/App/Settings/AppleWatch/HomeCustomization/WatchConfigurationView.swift @@ -220,7 +220,7 @@ struct WatchConfigurationView: View { } .background(Color(uiColor: .init(hex: itemInfo.customization?.iconColor)).opacity(0.3)) .clipShape(Circle()) - Text(itemInfo.name) + Text(item.name(info: itemInfo)) .font(.system(size: 16)) .frame(maxWidth: .infinity, alignment: .leading) .foregroundStyle(textColorForWatchItem(itemInfo: itemInfo))