1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-30 06:56:10 +00:00

Début filtres

This commit is contained in:
Yan Maniez 2020-02-22 02:43:08 +01:00
parent 033f7ec94a
commit c25cc83ec2
2 changed files with 69 additions and 22 deletions

View file

@ -18,6 +18,7 @@ Future<Database> getDatabaseInstance() async {
var path = join(databasesPath, "library.db");
var exists = await databaseExists(path);
exists = false;
if (!exists) {
print("Creating new copy from asset");
@ -52,7 +53,7 @@ Future<Item> getItemWithId(String id) async {
}
Future<Item> loadChildrenItems(Item item) async {
print("getChildrenItems " + item.ItemType);
print("getChildrenItems " + (item?.ItemType ?? ""));
if (item.ItemType.endsWith("Items")) {
String itemType =
item.ItemType.substring(0, item.ItemType.length - 1);