TF-1000 Fix need reload web page two times to update mailbox when change state from mail client other
This commit is contained in:
@@ -20,6 +20,8 @@ abstract class BaseMailboxController extends BaseController {
|
|||||||
Future buildTree(List<PresentationMailbox> allMailbox) async {
|
Future buildTree(List<PresentationMailbox> allMailbox) async {
|
||||||
allMailboxes = allMailbox;
|
allMailboxes = allMailbox;
|
||||||
final tupleTree = await _treeBuilder.generateMailboxTreeInUI(allMailbox);
|
final tupleTree = await _treeBuilder.generateMailboxTreeInUI(allMailbox);
|
||||||
|
defaultMailboxTree.firstRebuild = true;
|
||||||
|
folderMailboxTree.firstRebuild = true;
|
||||||
defaultMailboxTree.value = tupleTree.value1;
|
defaultMailboxTree.value = tupleTree.value1;
|
||||||
folderMailboxTree.value = tupleTree.value2;
|
folderMailboxTree.value = tupleTree.value2;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user