Skip to content

Commit

Permalink
Fix web not awaiting default on file system
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Sep 4, 2024
1 parent 572c579 commit 5d1be5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lw_file_system/lib/src/api/file_system_html.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ mixin WebFileSystem on GeneralFileSystem {
);
_db = db;
if (hasDefault() && !isInitialized()) {
runDefault();
await runDefault();
html.window.localStorage
.setItem(config.currentDefaultStorageName, 'true');
}
Expand Down

0 comments on commit 5d1be5a

Please sign in to comment.