Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respecting avatarOverrideStyle when setting TitleView style #1949

Conversation

DanielMorM
Copy link
Contributor

@DanielMorM DanielMorM commented Jan 24, 2024

Platforms Impacted

  • iOS
  • macOS

Description of changes

When setting the TitleView style, the Avatar style was set not considering if there was an override already. This change is to consider the override when setting the AvatarStyle.

Verification

When setting an override style, the Avatar maintains the same style even when changing view controllers.

Pull request checklist

This PR has considered:

  • Light and Dark appearances
  • SwiftUI consumption (validation or new demo scenarios needed)
Microsoft Reviewers: Open in CodeFlow

@DanielMorM DanielMorM requested a review from a team as a code owner January 24, 2024 02:04
@alexanderboswell
Copy link
Contributor

can you provide some screen shots (from the fluent demo app) with this change on and off?

@DanielMorM
Copy link
Contributor Author

can you provide some screen shots (from the fluent demo app) with this change on and off?

There is no example in the demo app to test avatar override style. After discussing with @alexanderboswell, we agreed I could merge this as it is and create a way to test this in a different change

Addressing PR comments
@alexanderboswell alexanderboswell merged commit 882746f into microsoft:main Jan 24, 2024
6 checks passed
@DanielMorM DanielMorM deleted the damoral/respect-overrided-avatar-style branch January 24, 2024 23:45
@DanielMorM DanielMorM mentioned this pull request Jan 25, 2024
2 tasks
DanielMorM added a commit to DanielMorM/fluentui-apple that referenced this pull request Jan 25, 2024
…t#1949)

Respecting avatarOverrideStyle when setting TitleView style
DanielMorM added a commit that referenced this pull request Jan 25, 2024
Respecting avatarOverrideStyle when setting TitleView style
DanielMorM added a commit that referenced this pull request Jan 25, 2024
[Cherry Pick From Main] Respecting avatarOverrideStyle when setting TitleView style (#1949)
@mischreiber mischreiber mentioned this pull request Mar 6, 2024
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants