Skip to content

Commit

Permalink
fix: remove unnecessary async method signature
Browse files Browse the repository at this point in the history
  • Loading branch information
Feichtmeier committed Oct 28, 2024
1 parent 329c1b7 commit f492e36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/backend/database/helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ class EntityStatCacheHelper {
return stat;
}

Future<void> set(EntityStat entity) async =>
await isar.writeTxn(() => isar.entityStats.put(entity));
Future<void> set(EntityStat entity) =>
isar.writeTxn(() => isar.entityStats.put(entity));
}

0 comments on commit f492e36

Please sign in to comment.