From 016ff82fce1c0fd59e349404295611666559f6c3 Mon Sep 17 00:00:00 2001 From: fengshengxiong Date: Fri, 31 May 2024 16:38:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9iOS=E7=9B=B8=E5=86=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9D=83=E9=99=90=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ios/Runner/Info.plist | 4 ++-- lib/common/utils/permission_util.dart | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index b7dd38d..3124b57 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -27,9 +27,9 @@ LSRequiresIPhoneOS NSPhotoLibraryAddUsageDescription - To save wallpapers to gallery, we need this permission + We need access to your photo album so you can save wallpapers from the app to your album NSPhotoLibraryUsageDescription - To save wallpapers to gallery, we need this permission + We need access to your photo album so you can save wallpapers from the app to your album UIApplicationSupportsIndirectInputEvents UILaunchStoryboardName diff --git a/lib/common/utils/permission_util.dart b/lib/common/utils/permission_util.dart index 8e665e3..0c4adf3 100644 --- a/lib/common/utils/permission_util.dart +++ b/lib/common/utils/permission_util.dart @@ -138,7 +138,7 @@ class PermissionUtil { } String explain = ''; if (failedPermission == Permission.storage || failedPermission == Permission.photosAddOnly) { - explain = 'To save wallpapers to gallery, we need this permission'; + explain = 'We need access to your photo album so you can save wallpapers from the app to your album'; } return explain; }