fix: account switcher popover too small issue
This commit is contained in:
parent
c9c0aaf148
commit
6d7de85f62
|
@ -101,7 +101,8 @@ extension ContentSplitViewController: SidebarViewControllerDelegate {
|
||||||
|
|
||||||
let accountListViewController = coordinator.present(scene: .accountList, from: nil, transition: .popover(sourceView: sourceView)) as! AccountListViewController
|
let accountListViewController = coordinator.present(scene: .accountList, from: nil, transition: .popover(sourceView: sourceView)) as! AccountListViewController
|
||||||
accountListViewController.dragIndicatorView.barView.isHidden = true
|
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)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue