Fixing bugs

This commit is contained in:
2026-04-14 16:24:45 +03:00
parent 13156da39f
commit fa26eb3442
3 changed files with 12 additions and 10 deletions
+1
View File
@@ -84,6 +84,7 @@ impl Default for ScreenState {
let path = app_data_dir();
let db_file = path.join("data.db");
let connection = Connection::open(db_file).unwrap();
connection.execute("PRAGMA foreign_keys = ON;", []).unwrap();
let list: Vec<DictionaryElement> = load_words(&connection);
let sets: Vec<CardSetSettings> = load_sets(&connection);