Skip to content

Commit

Permalink
fix: add arg for rclone
Browse files Browse the repository at this point in the history
Insert new argument at index i + 1 in __RcloneArgsDialogState
  • Loading branch information
Xmarmalade committed Jan 13, 2024
1 parent 6b0057c commit 2483b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/widgets/alist_args_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ class __RcloneArgsDialogState extends State<_RcloneArgsDialog> {
IconButton(
onPressed: () {
setState(() {
args.insert(i, '');
args.insert(i + 1, '');
});
},
icon: const Icon(Icons.add_rounded),
Expand Down

0 comments on commit 2483b3f

Please sign in to comment.