Skip to content

Commit

Permalink
Fix use of displayName instead of rawValue for bookmarks page picker
Browse files Browse the repository at this point in the history
  • Loading branch information
adisve committed Mar 30, 2023
1 parent 5a1702f commit a6c469e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ struct BookmarkPage: View {
VStack {
Picker("ViewType", selection: $viewModel.defaultViewType) {
ForEach(viewModel.scheduleViewTypes, id: \.self) {
Text(NSLocalizedString($0.rawValue, comment: ""))
Text(NSLocalizedString($0.displayName, comment: ""))
.foregroundColor(.onSurface)
.font(.caption)
}
Expand Down

0 comments on commit a6c469e

Please sign in to comment.