This commit is contained in:
problematicconsumer
2023-10-04 18:06:48 +03:30
parent 839967d02d
commit 8ec9f7f964
25 changed files with 130 additions and 89 deletions

View File

@@ -136,7 +136,7 @@ class ProfilesRepositoryImpl
},
);
} finally {
if (await File(tempPath).exists()) await File(tempPath).delete();
if (File(tempPath).existsSync()) File(tempPath).deleteSync();
}
},
(error, stackTrace) {
@@ -277,7 +277,7 @@ class ProfilesRepositoryImpl
},
);
} finally {
if (await File(tempPath).exists()) await File(tempPath).delete();
if (File(tempPath).existsSync()) File(tempPath).deleteSync();
}
},
);