From 957937184741b01a2c02ae7bb282010f48bafd4b Mon Sep 17 00:00:00 2001 From: Tim Bert <5411131+timbms@users.noreply.github.com> Date: Fri, 20 Sep 2024 14:34:44 +0200 Subject: [PATCH] Text(verbatim:) Signed-off-by: Tim Bert <5411131+timbms@users.noreply.github.com> --- openHAB/SettingsView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openHAB/SettingsView.swift b/openHAB/SettingsView.swift index 8322022b..44b24745 100644 --- a/openHAB/SettingsView.swift +++ b/openHAB/SettingsView.swift @@ -260,7 +260,7 @@ struct SettingsView: View { Picker(selection: $settingsIconType) { ForEach(IconType.allCases, id: \.self) { icontype in - Text("\(icontype)").tag(icontype) + Text(verbatim: "\(icontype)").tag(icontype) } } label: { Text("Icon Type") @@ -268,7 +268,7 @@ struct SettingsView: View { Picker(selection: $settingsSortSitemapsBy) { ForEach(SortSitemapsOrder.allCases, id: \.self) { sortsitemaporder in - Text("\(sortsitemaporder)").tag(sortsitemaporder) + Text(verbatim: "\(sortsitemaporder)").tag(sortsitemaporder) } } label: { Text("Sort sitemaps by")