TF-3385 Update mark as read and star

This commit is contained in:
DatDang
2024-12-31 10:12:43 +07:00
committed by Dat H. Pham
parent a94513efb4
commit 8f5168ec6b
24 changed files with 521 additions and 32 deletions
@@ -49,6 +49,7 @@ class ThreadRepositoryImpl extends ThreadRepository {
Properties? propertiesCreated,
Properties? propertiesUpdated,
bool getLatestChanges = true,
bool skipCache = false,
}
) async* {
log('ThreadRepositoryImpl::getAllEmail(): filter = ${emailFilter?.mailboxId}');
@@ -88,7 +89,7 @@ class ThreadRepositoryImpl extends ThreadRepository {
);
}
yield networkEmailResponse;
} else {
} else if (!skipCache) {
yield localEmailResponse;
}