diff --git a/lib/upload_image/down_load_image_tool.dart b/lib/upload_image/down_load_image_tool.dart index 5b0f515..58915ee 100644 --- a/lib/upload_image/down_load_image_tool.dart +++ b/lib/upload_image/down_load_image_tool.dart @@ -26,11 +26,6 @@ class DownLoadImageTool { // 打开应用设置,让用户手动启用权限 await openAppSettings(); } - - if (status.isDenied) { - // 打开应用设置,让用户手动启用权限 - await openAppSettings(); - } } return status.isGranted;