TF-1311: [Presentation] Implement hide mailbox in presentation
This commit is contained in:
@@ -296,7 +296,7 @@ class MailboxAPI with HandleSetErrorMixin {
|
||||
final setMailboxMethod = SetMailboxMethod(accountId)
|
||||
..addUpdates({
|
||||
request.mailboxId.id : PatchObject({
|
||||
'isSubscribed': request.newState == MailboxSubscribeState.disabled ? true : false
|
||||
'isSubscribed': request.newState == MailboxSubscribeState.disabled ? false : true
|
||||
})
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user