mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
@@ -290,10 +290,10 @@ class _SavePanelState extends State<SavePanel> {
|
||||
}
|
||||
|
||||
Future<void> _onSaveOrSharePic([bool isShare = false]) async {
|
||||
if (!isShare && PlatformUtils.isMobile) {
|
||||
if (mounted && !await ImageUtils.checkPermissionDependOnSdkInt()) {
|
||||
return;
|
||||
}
|
||||
if (!isShare &&
|
||||
PlatformUtils.isMobile &&
|
||||
!await ImageUtils.checkPermissionDependOnSdkInt()) {
|
||||
return;
|
||||
}
|
||||
SmartDialog.showLoading();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user