TF-3372 Fix [MU] Emptying trash: Many unnecessary Email/query + Email/get requests

This commit is contained in:
dab246
2024-12-24 10:12:27 +07:00
committed by Dat H. Pham
parent 360027d7a1
commit f0e0869f96
@@ -439,9 +439,7 @@ class ThreadController extends BaseController with EmailActionController {
}
canLoadMore = newListEmail.length >= ThreadConstants.maxCountEmails;
if (mailboxDashBoardController.emailsInCurrentMailbox.isEmpty) {
refreshAllEmail();
} else if (PlatformInfo.isWeb) {
if (PlatformInfo.isWeb) {
_validateBrowserHeight();
}
}