Skip to content

Commit

Permalink
Text(verbatim:)
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Bert <[email protected]>
  • Loading branch information
timbms committed Sep 20, 2024
1 parent a91b0af commit 9579371
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openHAB/SettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -260,15 +260,15 @@ 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")
}

Picker(selection: $settingsSortSitemapsBy) {
ForEach(SortSitemapsOrder.allCases, id: \.self) { sortsitemaporder in
Text("\(sortsitemaporder)").tag(sortsitemaporder)
Text(verbatim: "\(sortsitemaporder)").tag(sortsitemaporder)
}
} label: {
Text("Sort sitemaps by")
Expand Down

0 comments on commit 9579371

Please sign in to comment.