Fix id of Items, saving
This commit is contained in:
@ -43,7 +43,7 @@ struct MultiFileSelectionView: View {
|
||||
guard !searchString.isEmpty else {
|
||||
return filesBySelectedType
|
||||
}
|
||||
return filesBySelectedType.filter { $0.id.contains(searchString) }
|
||||
return filesBySelectedType.filter { $0.identifier.contains(searchString) }
|
||||
}
|
||||
|
||||
var body: some View {
|
||||
@ -59,7 +59,7 @@ struct MultiFileSelectionView: View {
|
||||
.foregroundStyle(.red)
|
||||
.contentShape(Rectangle())
|
||||
.onTapGesture { deselect(file: file) }
|
||||
Text(file.id)
|
||||
Text(file.identifier)
|
||||
Spacer()
|
||||
}
|
||||
}
|
||||
@ -99,7 +99,7 @@ struct MultiFileSelectionView: View {
|
||||
Image(systemSymbol: .plusCircleFill)
|
||||
.foregroundStyle(.green)
|
||||
}
|
||||
Text(file.id)
|
||||
Text(file.identifier)
|
||||
Spacer()
|
||||
}
|
||||
.contentShape(Rectangle())
|
||||
|
Reference in New Issue
Block a user