Set type for deletedIDs
This commit is contained in:
parent
6861d0a399
commit
3bf844f834
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ Future<void> deleteFilesFromEverywhere(
|
|||
}
|
||||
}
|
||||
}
|
||||
var deletedIDs;
|
||||
Set<String> deletedIDs = Set<String>();
|
||||
try {
|
||||
deletedIDs = (await PhotoManager.editor.deleteWithIds(localIDs)).toSet();
|
||||
} catch (e, s) {
|
||||
|
@ -112,7 +112,7 @@ Future<void> deleteFilesOnDeviceOnly(
|
|||
}
|
||||
}
|
||||
}
|
||||
var deletedIDs;
|
||||
Set<String> deletedIDs = Set<String>();
|
||||
try {
|
||||
deletedIDs = (await PhotoManager.editor.deleteWithIds(localIDs)).toSet();
|
||||
} catch (e, s) {
|
||||
|
|
Loading…
Reference in a new issue