This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] [iOS] NavigationBarSeparator is visible after changing BarBackgroundColor when SetHideNavigationBarSeparator(true) #15329
Labels
Description
NavigationBarSeparator is visible after changing BarBackgroundColor when On().SetHideNavigationBarSeparator(true)
Steps to Reproduce
Expected Behavior
NavigationBarSeparator is Hidden
Actual Behavior
NavigationBarSeparator is Visible
Basic Information
Screenshots
Workaround
UpdateHideNavigationBarSeparator method from - https://github.com/xamarin/Xamarin.Forms/blob/5.0.0/Xamarin.Forms.Platform.iOS/Renderers/NavigationRenderer.cs#L506
Line needed to fix - https://github.com/xamarin/Xamarin.Forms/blob/5.0.0/Xamarin.Forms.Platform.iOS/Renderers/NavigationRenderer.cs#L454
App starts with Light Theme (SetHideNavigationBarSeparator(true), NavigationBarSeparator is Hidden - good)
Changing App Theme to Dark (SetHideNavigationBarSeparator(true), but NavigationBarSeparator is Hidden - good)
Changing App Theme back to Light (SetHideNavigationBarSeparator(true), but NavigationBarSeparator is Hidden - good)
The text was updated successfully, but these errors were encountered: