no message
This commit is contained in:
parent
78c1fff88b
commit
09c0b0db46
|
|
@ -40,7 +40,7 @@ class _StartPageState extends State<StartPage> with RequestToolMixin {
|
||||||
void getStoragePermission() async {
|
void getStoragePermission() async {
|
||||||
_timerPermission?.cancel();
|
_timerPermission?.cancel();
|
||||||
_timerPermission = null;
|
_timerPermission = null;
|
||||||
var status = await Permission.storage.status;
|
var status = await Permission.storage.request();
|
||||||
if (status != PermissionStatus.granted) {
|
if (status != PermissionStatus.granted) {
|
||||||
print(status);
|
print(status);
|
||||||
if (status == PermissionStatus.denied) {
|
if (status == PermissionStatus.denied) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue