File tree Expand file tree Collapse file tree
src/Controls/src/Core/Compatibility/Handlers/Shell/Android Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,9 +142,10 @@ protected virtual void SetAppearance(ShellAppearance appearance)
142142 return ;
143143 }
144144
145- if ( _bottomView . Background is ColorDrawable background && appearance is IShellAppearanceElement apperanceElement )
145+ // Apply background color from appearance, fallback to default if unavailable
146+ if ( _bottomView . Background is ColorDrawable background && appearance is IShellAppearanceElement appearanceElement )
146147 {
147- background . Color = apperanceElement . EffectiveTabBarBackgroundColor ? . ToPlatform ( ) ?? ShellRenderer . DefaultBottomNavigationViewBackgroundColor . ToPlatform ( ) ;
148+ background . Color = appearanceElement . EffectiveTabBarBackgroundColor ? . ToPlatform ( ) ?? ShellRenderer . DefaultBottomNavigationViewBackgroundColor . ToPlatform ( ) ;
148149 }
149150 _appearanceSet = true ;
150151 _appearanceTracker . SetAppearance ( _bottomView , appearance ) ;
You can’t perform that action at this time.
0 commit comments