TF-1594 Use only one class TmailToast to display the message.
(cherry picked from commit 379c34b32b2e5c4dad141e6a98bdb92597fa6908)
This commit is contained in:
@@ -642,10 +642,11 @@ class ThreadController extends BaseController with EmailActionController {
|
||||
|
||||
mailboxDashBoardController.filterMessageOption.value = newFilterOption;
|
||||
|
||||
_appToast.showToastWithIcon(
|
||||
currentOverlayContext!,
|
||||
message: newFilterOption.getMessageToast(context),
|
||||
icon: newFilterOption.getIconToast(_imagePaths));
|
||||
_appToast.showToastMessage(
|
||||
context,
|
||||
newFilterOption.getMessageToast(context),
|
||||
leadingSVGIcon: newFilterOption.getIconToast(_imagePaths),
|
||||
);
|
||||
|
||||
if (searchController.isSearchEmailRunning) {
|
||||
_searchEmail();
|
||||
|
||||
Reference in New Issue
Block a user