mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-09 10:00:27 +00:00
fix: treeview,style,file picker (#91)
* fix: tree view,style,file picker Co-authored-by: wuke2022 <[email protected]>
This commit is contained in:
1 parent
5b69472ac8
commit
56375c0edb
7 files changed
+73
-101
No files matched your search
@@ -163,7 +163,6 @@ class CreateView extends GetView<CreateController> {
|
||||
),
|
||||
child: RoundedLoadingButton(
|
||||
color: Get.theme.colorScheme.secondary,
|
||||
duration: const Duration(milliseconds: 100),
|
||||
onPressed: () async {
|
||||
try {
|
||||
downloadController.start();
|
||||
@@ -179,7 +178,6 @@ class CreateView extends GetView<CreateController> {
|
||||
// return;
|
||||
// }
|
||||
// }
|
||||
|
||||
await createTask(CreateTask(
|
||||
rid: rr.id,
|
||||
opts: Options(
|
||||
@@ -187,6 +185,7 @@ class CreateView extends GetView<CreateController> {
|
||||
path: pathController.text,
|
||||
selectFiles: controller.selectedIndexes
|
||||
.cast<int>())));
|
||||
Get.back();
|
||||
Get.rootDelegate.offNamed(Routes.DOWNLOADING);
|
||||
}
|
||||
} catch (e) {
|
||||
|
||||
Reference in new issue
Block a user