TF-1899 Clear view state when no network
(cherry picked from commit e45c252f690aacc7baf9fda7c381ef43493a2de0)
This commit is contained in:
@@ -152,7 +152,6 @@ abstract class BaseController extends GetxController
|
||||
|
||||
void handleExceptionAction(Exception exception) {
|
||||
log('BaseController::handleExceptionAction():exception: $exception');
|
||||
clearState();
|
||||
}
|
||||
|
||||
void handleFailureViewState(Failure failure) {
|
||||
|
||||
@@ -189,6 +189,12 @@ class ThreadController extends BaseController with EmailActionController {
|
||||
_handleErrorGetAllOrRefreshChangesEmail(error, stackTrace);
|
||||
}
|
||||
|
||||
@override
|
||||
void handleExceptionAction(Exception exception) {
|
||||
super.handleExceptionAction(exception);
|
||||
clearState();
|
||||
}
|
||||
|
||||
void _registerObxStreamListener() {
|
||||
ever(mailboxDashBoardController.selectedMailbox, (mailbox) {
|
||||
if (mailbox is PresentationMailbox) {
|
||||
|
||||
Reference in New Issue
Block a user