TF-933 Update new position EmptyTrashNow button in mailbox trash on Web Desktop
This commit is contained in:
@@ -281,6 +281,9 @@ class ThreadController extends BaseController {
|
||||
} else if (action is StartSearchEmailAction) {
|
||||
_searchEmail();
|
||||
mailboxDashBoardController.clearDashBoardAction();
|
||||
} else if (action is EmptyTrashAction) {
|
||||
deleteSelectionEmailsPermanently(action.context, DeleteActionType.all);
|
||||
mailboxDashBoardController.clearDashBoardAction();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -607,7 +607,8 @@ class ThreadView extends GetWidget<ThreadController> with AppLoaderMixin,
|
||||
bool supportEmptyTrash(BuildContext context) {
|
||||
return controller.isMailboxTrash
|
||||
&& controller.emailList.isNotEmpty
|
||||
&& !controller.isSearchActive();
|
||||
&& !controller.isSearchActive()
|
||||
&& !_responsiveUtils.isWebDesktop(context);
|
||||
}
|
||||
|
||||
Widget _buildEmptyTrashButton(BuildContext context) {
|
||||
|
||||
Reference in New Issue
Block a user