Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
fix: order caching bug with local data
Browse files Browse the repository at this point in the history
  • Loading branch information
reasje committed May 23, 2024
1 parent bae86cd commit 2bf877e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/features/dapps/domain/dapp_store_use_case.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ class DappStoreUseCase extends ReactiveUseCase {
late final ValueStream<List<Dapp>> dapps = reactive([]);

Future<void> loadDapps() async {
loadLocalDApps();
Future.delayed(
const Duration(seconds: 1),
() => loadLocalDApps(),
);

await loadRemoteDApps();
}

Expand Down

0 comments on commit 2bf877e

Please sign in to comment.