Use title for tag list
This commit is contained in:
parent
4da7ef52c4
commit
f8150e0809
@ -31,7 +31,7 @@ struct TagListView: View {
|
|||||||
.textFieldStyle(.roundedBorder)
|
.textFieldStyle(.roundedBorder)
|
||||||
.padding(.horizontal, 8)
|
.padding(.horizontal, 8)
|
||||||
List(filteredTags, selection: $selectedTag) { tag in
|
List(filteredTags, selection: $selectedTag) { tag in
|
||||||
Text(tag.localized(in: language).name).tag(tag)
|
Text(tag.localized(in: language).title).tag(tag)
|
||||||
}
|
}
|
||||||
}.onAppear {
|
}.onAppear {
|
||||||
if selectedTag == nil {
|
if selectedTag == nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user