Skip to content

Commit

Permalink
perf: improve performance when changing dictionaries
Browse files Browse the repository at this point in the history
Signed-off-by: Mumulhl <mumulhl.666@gmail.com>
  • Loading branch information
mumu-lhl committed Oct 3, 2024
1 parent 63375d3 commit 0378733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dictionary.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Future<void> changeDictionary(int id, String path) async {
await dictionary!.close();
dictionary = dictionaryDatabase(id);

_initDictReader(path);
_initDictReader(path, readKey: false);
}

Future<void> removeDictionary(String path) async {
Expand Down

0 comments on commit 0378733

Please sign in to comment.