Move settings + generation to sheets
This commit is contained in:
@ -52,15 +52,9 @@ struct FileListView: View {
|
||||
.textFieldStyle(.roundedBorder)
|
||||
.padding(.horizontal, 8)
|
||||
List(filteredFiles) { file in
|
||||
HStack {
|
||||
SelectableListItem(selected: selectedFile == file) {
|
||||
Text(file.id)
|
||||
Spacer()
|
||||
}
|
||||
.listRowBackground(RoundedRectangle(cornerRadius: 5)
|
||||
.fill(selectedFile == file ? Color.blue : Color.clear)
|
||||
.padding(.horizontal, 10)
|
||||
)
|
||||
.contentShape(Rectangle())
|
||||
.onTapGesture {
|
||||
selectedFile = file
|
||||
}
|
||||
|
Reference in New Issue
Block a user