Hide FlyoutIcon when FlyoutBehavior set to disabled#20087
Merged
PureWeen merged 8 commits intoJul 17, 2024
Conversation
|
Hey there @kubaflo! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
Member
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
6b3326c to
c431cdd
Compare
Contributor
Contributor
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
Contributor
Author
dustin-wojciechowski
previously approved these changes
Apr 25, 2024
Member
|
/rebase |
Member
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
PureWeen
requested changes
Jun 1, 2024
| else if (String.IsNullOrWhiteSpace(text) && IsRootPage && _flyoutBehavior == FlyoutBehavior.Flyout) | ||
| { | ||
| icon = DrawHamburger(); | ||
| if (image != null) |
Member
There was a problem hiding this comment.
Would it make sense to move all the code below this to a separate method?
And then before we call LoadImage we can just check the flyout behavior? If it's set to Flyout then we just call the separate method with a null icon?
With this path, it seems like we're going to be loading an image that we never use.
4f435d6 to
cd35b7b
Compare
PureWeen
previously approved these changes
Jun 2, 2024
Member
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
Member
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
Contributor
|
Rebased and added pending UITest snapshots. |
Contributor
|
/azp run |
jsuarezruiz
approved these changes
Jun 12, 2024
jsuarezruiz
previously approved these changes
Jun 13, 2024
PureWeen
requested changes
Jul 16, 2024
)" This reverts commit cab0da5.
8187b05 to
c9ebc82
Compare
Member
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
PureWeen
requested changes
Jul 16, 2024
Member
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
PureWeen
approved these changes
Jul 17, 2024
Member
|
Test failures are unrelated |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Description of Change
The restrictions have been added to make sure that the custom icon is displayed only when the flyoutBehavior is equal FlyoutBehavior.Flyout on Android and iOS
Issues Fixed
Fixes #9037
Screen.Recording.2024-01-26.at.17.19.37.mov