no message
This commit is contained in:
parent
09c0b0db46
commit
f917b73964
|
|
@ -54,5 +54,9 @@
|
|||
</array>
|
||||
<key>UIViewControllerBasedStatusBarAppearance</key>
|
||||
<false/>
|
||||
<key>NSPhotoLibraryUsageDescription</key>
|
||||
<string>为了更好的服务需要开启储存权限,用于保存批阅图</string>
|
||||
<key>NSFileProviderDomain</key>
|
||||
<string>为了更好的服务需要开启储存权限,用于保存批阅图</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
|
|||
|
|
@ -49,8 +49,8 @@ class _StartPageState extends State<StartPage> with RequestToolMixin {
|
|||
barrierDismissible: false,
|
||||
builder: (BuildContext context) {
|
||||
return AlertDialog(
|
||||
title: Text("权限拒绝"),
|
||||
content: Text("权限被永久拒绝,请前往权限设置页面通过权限"),
|
||||
title: const Text("储存权限拒绝"),
|
||||
content: const Text("为了提供更好的服务,需要获取到存储权限用于保存批阅笔记"),
|
||||
actions: [
|
||||
ElevatedButton(
|
||||
onPressed: () async {
|
||||
|
|
@ -58,7 +58,7 @@ class _StartPageState extends State<StartPage> with RequestToolMixin {
|
|||
Navigator.of(context).pop();
|
||||
_timerPermission = Timer.periodic(const Duration(seconds: 30), (_) => getStoragePermission());
|
||||
},
|
||||
child: Text('前往'),
|
||||
child: const Text('前往APP权限设置'),
|
||||
)
|
||||
],
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue