TF-3332 Prevent refresh when switching mailbox
This commit is contained in:
@@ -25,6 +25,7 @@ abstract class ThreadRepository {
|
||||
EmailFilter? emailFilter,
|
||||
Properties? propertiesCreated,
|
||||
Properties? propertiesUpdated,
|
||||
bool getLatestChanges = true,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ class GetEmailsInMailboxInteractor {
|
||||
EmailFilter? emailFilter,
|
||||
Properties? propertiesCreated,
|
||||
Properties? propertiesUpdated,
|
||||
bool getLatestChanges = true,
|
||||
}
|
||||
) async* {
|
||||
try {
|
||||
@@ -39,7 +40,8 @@ class GetEmailsInMailboxInteractor {
|
||||
sort: sort,
|
||||
emailFilter: emailFilter,
|
||||
propertiesCreated: propertiesCreated,
|
||||
propertiesUpdated: propertiesUpdated)
|
||||
propertiesUpdated: propertiesUpdated,
|
||||
getLatestChanges: getLatestChanges)
|
||||
.map((emailResponse) => _toGetEmailState(
|
||||
emailResponse: emailResponse,
|
||||
currentMailboxId: emailFilter?.mailboxId
|
||||
|
||||
Reference in New Issue
Block a user