Skip to content

Commit

Permalink
Enable reordering in CLI argument list
Browse files Browse the repository at this point in the history
Enables drag and drop reordering within the arguments list, for more convenient editing of the list in cases where the ordering matters, such as when passing arguments that take their own parameters. One example would be --files-from.
  • Loading branch information
tiwoc committed Jan 13, 2025
1 parent ab84f1a commit c9bcbbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ResticScheduler/EditableListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ struct EditableListView: View {

var body: some View {
ScrollViewReader { proxy in
List($editableList.list, selection: $editableList.selection) { item in
List($editableList.list, editActions: .move, selection: $editableList.selection) { item in
TextField("", text: item.value)
.font(.callout)
.listRowInsets(.init())
Expand Down

0 comments on commit c9bcbbd

Please sign in to comment.