From 195dfac74b0f8f021b26657b3b0197816514c085 Mon Sep 17 00:00:00 2001 From: liwei Date: Fri, 19 Jan 2024 14:31:03 +0800 Subject: [PATCH] test --- ui/flutter/lib/app/modules/app/controllers/app_controller.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/flutter/lib/app/modules/app/controllers/app_controller.dart b/ui/flutter/lib/app/modules/app/controllers/app_controller.dart index f1e11f11..25e183c5 100644 --- a/ui/flutter/lib/app/modules/app/controllers/app_controller.dart +++ b/ui/flutter/lib/app/modules/app/controllers/app_controller.dart @@ -425,8 +425,7 @@ class AppController extends GetxController with WindowListener, TrayListener { config.downloadDir = (await getApplicationDocumentsDirectory()).path; } } else if (Util.isIOS()) { - config.downloadDir = (await DownloadsPath.downloadsDirectory())?.path ?? - (await getApplicationDocumentsDirectory()).path; + config.downloadDir = (await getApplicationDocumentsDirectory()).path; } else { config.downloadDir = './'; }