Skip to content

Commit f492e36

Browse files
committed
fix: remove unnecessary async method signature
1 parent 329c1b7 commit f492e36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/backend/database/helper.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ class EntityStatCacheHelper {
1818
return stat;
1919
}
2020

21-
Future<void> set(EntityStat entity) async =>
22-
await isar.writeTxn(() => isar.entityStats.put(entity));
21+
Future<void> set(EntityStat entity) =>
22+
isar.writeTxn(() => isar.entityStats.put(entity));
2323
}

0 commit comments

Comments
 (0)