fix: account switcher popover too small issue

This commit is contained in:
CMK 2021-11-02 16:02:46 +08:00
parent c9c0aaf148
commit 6d7de85f62
1 changed files with 2 additions and 1 deletions

View File

@ -101,7 +101,8 @@ extension ContentSplitViewController: SidebarViewControllerDelegate {
let accountListViewController = coordinator.present(scene: .accountList, from: nil, transition: .popover(sourceView: sourceView)) as! AccountListViewController
accountListViewController.dragIndicatorView.barView.isHidden = true
accountListViewController.preferredContentSize = CGSize(width: 300, height: 320)
// content width needs > 300 to make checkmark display
accountListViewController.preferredContentSize = CGSize(width: 375, height: 400)
}
}