TF-1869 Reopen box when update cache on background

(cherry picked from commit bf2dd9664cc9d319e3ce9d0fe02374cbe7c586f2)
This commit is contained in:
dab246
2023-05-24 09:40:28 +07:00
committed by Dat Vu
parent 36e08e56d2
commit acda93f8e1
2 changed files with 20 additions and 4 deletions
@@ -99,6 +99,6 @@ class EmailCacheManager {
Future<EmailCache?> getEmailFromCache(AccountId accountId, UserName userName, EmailId emailId) {
final keyCache = TupleKey(emailId.asString, accountId.asString, userName.value).encodeKey;
return _emailCacheClient.getItem(keyCache);
return _emailCacheClient.getItem(keyCache, needToReopen: true);
}
}