Skip to content

Commit

Permalink
[create-pull-request] automated change (dotnet#15988)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored Jul 6, 2023
1 parent a154990 commit 4c096c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ public virtual void SetAppearance(BottomNavigationView bottomView, IShellAppeara
var titleColor = controller.EffectiveTabBarTitleColor;

_itemTextColor = MakeColorStateList(
titleColor ?? foregroundColor,
disabledColor,
titleColor ?? foregroundColor,
disabledColor,
unselectedColor);

_itemIconTint = MakeColorStateList(
foregroundColor ?? titleColor,
disabledColor,
foregroundColor ?? titleColor,
disabledColor,
unselectedColor);

bottomView.ItemTextColor = _itemTextColor;
Expand Down
2 changes: 1 addition & 1 deletion src/Controls/src/Core/NavigationPage/NavigationPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ void OnWindowChanged(object sender, EventArgs e)

var parentPages = this.GetParentPages();
parentPages.Insert(0, this);
var topLevelPage = parentPages[parentPages.Count - 1];
var topLevelPage = parentPages[parentPages.Count - 1];

// Is my top parent page the root page on the window?
// If so then we set the toolbar on the window
Expand Down

0 comments on commit 4c096c1

Please sign in to comment.