Skip to content

Commit bbd6157

Browse files
fix: rename file before saving
1 parent a3c12f9 commit bbd6157

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/pages/editor/editor.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,8 @@ class EditorState extends State<Editor> {
831831
savingState.value = SavingState.saving;
832832
}
833833

834+
await _renameFileNow();
835+
834836
final filePath = coreInfo.filePath + Editor.extension;
835837
final Uint8List bson;
836838
final OrderedAssetCache assets;

0 commit comments

Comments
 (0)