Fix tabbar avatar not visible (IOS-176)
This commit is contained in:
parent
cc3f1d030f
commit
831665141c
|
@ -190,7 +190,7 @@ extension MainTabBarController {
|
|||
_viewControllers = viewControllers
|
||||
setViewControllers(viewControllers, animated: false)
|
||||
selectedIndex = 0
|
||||
}
|
||||
|
||||
|
||||
// hacky workaround for FB11986255 (Setting accessibilityUserInputLabels on a UITabBarItem has no effect)
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + .milliseconds(50)) {
|
||||
|
@ -261,6 +261,7 @@ extension MainTabBarController {
|
|||
placeholder: .placeholder(color: .systemFill),
|
||||
scaleToSize: MainTabBarController.avatarButtonSize
|
||||
)
|
||||
// self.avatarButton.avatarImageView.image = UIImage(named: "AppIcon")
|
||||
}
|
||||
.store(in: &disposeBag)
|
||||
|
||||
|
@ -316,6 +317,7 @@ extension MainTabBarController {
|
|||
|
||||
updateTabBarDisplay()
|
||||
}
|
||||
}
|
||||
|
||||
override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
|
||||
super.traitCollectionDidChange(previousTraitCollection)
|
||||
|
|
Loading…
Reference in New Issue