add hover border to image tiles

This commit is contained in:
2022-10-07 17:32:39 +02:00
parent d2fa3022d7
commit cc5c3bb2a6
2 changed files with 64 additions and 41 deletions

View File

@ -113,8 +113,10 @@ class _SSHImageProvider extends ImageProvider<_SSHImageProvider> {
} else {
final file = await sftpClient.open(uri.toFilePath());
bytes = await file.readBytes();
await tmpPic.create(recursive: true);
await tmpPic.writeAsBytes(bytes);
() async {
await tmpPic.create(recursive: true);
await tmpPic.writeAsBytes(bytes);
}();
}
if (bytes.lengthInBytes == 0) {