diff --git a/lib/backend/database/helper.dart b/lib/backend/database/helper.dart index 8108b39..ea8a193 100755 --- a/lib/backend/database/helper.dart +++ b/lib/backend/database/helper.dart @@ -18,6 +18,6 @@ class EntityStatCacheHelper { return stat; } - Future set(EntityStat entity) async => - await isar.writeTxn(() => isar.entityStats.put(entity)); + Future set(EntityStat entity) => + isar.writeTxn(() => isar.entityStats.put(entity)); }