Skip to content

Commit

Permalink
- Fix Android not checking for FlyoutPage ShouldShowToolbarButton whe…
Browse files Browse the repository at this point in the history
…n setting the drawer toggle visibility. (#18522)
  • Loading branch information
bradencohen authored Mar 5, 2024
1 parent 3ae88d4 commit 9bb4cd1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ void UpdateBackButton()

// Set this before BackButtonVisible triggers an update to the handler
// This way all useful information is present
if (Parent is FlyoutPage && !anyPagesPushed.Value)
if (Parent is FlyoutPage flyout && flyout.ShouldShowToolbarButton() && !anyPagesPushed.Value)
_drawerToggleVisible = true;
else
_drawerToggleVisible = false;
Expand Down

0 comments on commit 9bb4cd1

Please sign in to comment.