mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-21 16:48:43 +00:00
win (#1240)
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -227,9 +227,9 @@ extension ThreeDotItemTypeExt on ThreeDotItemType {
|
||||
}
|
||||
|
||||
extension FileExt on File {
|
||||
void delSync({bool recursive = false}) {
|
||||
void tryDel({bool recursive = false}) {
|
||||
try {
|
||||
deleteSync(recursive: recursive);
|
||||
delete(recursive: recursive);
|
||||
} catch (_) {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user