mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
fix: permission dialog (#1799)
* don't request photo permission on A13+ saving to system album requires no additional permission * fix permission dialog * update Signed-off-by: dom <githubaccount56556@proton.me> --------- Co-authored-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -291,7 +291,7 @@ class _SavePanelState extends State<SavePanel> {
|
||||
|
||||
Future<void> _onSaveOrSharePic([bool isShare = false]) async {
|
||||
if (!isShare && PlatformUtils.isMobile) {
|
||||
if (mounted && !await ImageUtils.checkPermissionDependOnSdkInt(context)) {
|
||||
if (mounted && !await ImageUtils.checkPermissionDependOnSdkInt()) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user