From 7f61ac69836e2e5ac8fc9cfe04eee8bffa7431d1 Mon Sep 17 00:00:00 2001 From: shenlong <139912620+shenlong-tanwen@users.noreply.github.com> Date: Mon, 3 Mar 2025 20:41:13 +0530 Subject: [PATCH] chore(mobile): fix store.put type def (#16517) Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> --- mobile/lib/domain/services/store.service.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/lib/domain/services/store.service.dart b/mobile/lib/domain/services/store.service.dart index de79e9b71d..70b9f31c00 100644 --- a/mobile/lib/domain/services/store.service.dart +++ b/mobile/lib/domain/services/store.service.dart @@ -75,7 +75,7 @@ class StoreService { } /// Asynchronously stores the value in the DB and synchronously in the cache - Future put(StoreKey key, T value) async { + Future put, T>(U key, T value) async { if (_cache[key.id] == value) return; await _storeRepository.insert(key, value); _cache[key.id] = value;