mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +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:
@@ -117,10 +117,7 @@ void imageSaveDialog({
|
||||
iconBtn(
|
||||
tooltip: '保存封面图',
|
||||
onPressed: () async {
|
||||
bool saveStatus = await ImageUtils.downloadImg(
|
||||
context,
|
||||
[cover],
|
||||
);
|
||||
bool saveStatus = await ImageUtils.downloadImg([cover]);
|
||||
if (saveStatus) {
|
||||
SmartDialog.dismiss();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user