Skip to content

Commit

Permalink
fix: rename file before saving
Browse files Browse the repository at this point in the history
  • Loading branch information
ZebraVogel94349 committed Aug 1, 2024
1 parent a3c12f9 commit bbd6157
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/pages/editor/editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,8 @@ class EditorState extends State<Editor> {
savingState.value = SavingState.saving;
}

await _renameFileNow();

final filePath = coreInfo.filePath + Editor.extension;
final Uint8List bson;
final OrderedAssetCache assets;
Expand Down

0 comments on commit bbd6157

Please sign in to comment.