Skip to content

Commit

Permalink
Not show button for avatarOverrideStyle (microsoft#2027)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMorM authored May 22, 2024
1 parent b67b275 commit db897b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/FluentUI/Navigation/Views/AvatarTitleView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ class AvatarTitleView: UIView, TokenizedControlInternal, TwoLineTitleViewDelegat
// MARK: - Content Update Methods

private func updateProfileButtonVisibility() {
showsProfileButton = titleStyle.usesLeadingAlignment && !hasLeftBarButtonItems && (personaData != nil || avatarOverrideStyle != nil)
showsProfileButton = titleStyle.usesLeadingAlignment && !hasLeftBarButtonItems && personaData != nil
}

private func updateTitleContainerView() {
Expand Down

0 comments on commit db897b8

Please sign in to comment.