lot of things done, like custom lesson things
This commit is contained in:
@@ -136,7 +136,6 @@ class UserDatabaseStore {
|
||||
await db.update("user_data", {"last_seen_${category.name}": lastSeenDate},
|
||||
where: "id = ?", whereArgs: [userId]);
|
||||
}
|
||||
|
||||
|
||||
// renamed things
|
||||
Future<void> storeRenamedSubjects(Map<String, String> subjects,
|
||||
@@ -218,4 +217,11 @@ class UserDatabaseStore {
|
||||
await db.update("user_data", {"linked_accounts": accountsJson},
|
||||
where: "id = ?", whereArgs: [userId]);
|
||||
}
|
||||
|
||||
Future<void> storeCustomLessonDescriptions(Map<String, String> descs,
|
||||
{required String userId}) async {
|
||||
String descJson = jsonEncode(descs);
|
||||
await db.update("user_data", {"custom_lesson_desc": descJson},
|
||||
where: "id = ?", whereArgs: [userId]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user