Skip to content

Commit

Permalink
Fix desktop previous entry view
Browse files Browse the repository at this point in the history
  • Loading branch information
Voklen committed May 31, 2023
1 parent 8ae0016 commit 5124c7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/storage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ class PreviousEntryStorage {
if (path.isScopedStorage) {
return await _readFileAndroid();
}
final file = File('$path/$filename');
final file = File('${path.path}/$filename');
final contents = await file.readAsString();
return contents;
} catch (error) {
Expand Down

0 comments on commit 5124c7a

Please sign in to comment.