TF-78 Implement mark as unread when touch the "eye slash" icon on the top of screen EmailView
This commit is contained in:
@@ -13,6 +13,10 @@ abstract class BaseController extends GetxController {
|
||||
);
|
||||
}
|
||||
|
||||
void dispatchState(Either<Failure, Success> newState) {
|
||||
viewState.value = newState;
|
||||
}
|
||||
|
||||
void getState(Future<Either<Failure, Success>> newStateStream) async {
|
||||
final state = await newStateStream;
|
||||
state.fold(
|
||||
|
||||
Reference in New Issue
Block a user