commit
9f457f5e0a
@ -42,7 +42,7 @@ class _MyAppState extends State<MyApp> {
|
|||||||
|
|
||||||
Future<bool> _promptPermissionSetting() async {
|
Future<bool> _promptPermissionSetting() async {
|
||||||
if (Platform.isIOS) {
|
if (Platform.isIOS) {
|
||||||
if (await Permission.storage.request().isGranted) {
|
if (await Permission.photos.request().isGranted) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user