chore: clean up

opt: pages

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-19 18:05:02 +08:00
parent e5f3c3c922
commit a2ef4e6f84
99 changed files with 697 additions and 2097 deletions

View File

@@ -79,24 +79,6 @@ class DownloadUtils {
PermissionStatus status = await Permission.photos.status;
if (status == PermissionStatus.denied ||
status == PermissionStatus.permanentlyDenied) {
// SmartDialog.show(
// useSystem: true,
// animationType: SmartAnimationType.centerFade_otherSlide,
// builder: (BuildContext context) {
// return AlertDialog(
// title: const Text('提示'),
// content: const Text('相册权限未授权'),
// actions: [
// TextButton(
// onPressed: () async {
// openAppSettings();
// },
// child: const Text('去授权'),
// )
// ],
// );
// },
// );
return false;
} else {
return true;