Skip to content

Commit 868f457

Browse files
Vetle444Vetle Finstad
andauthored
Make ModalNavigationRenderer public (#872)
Co-authored-by: Vetle Finstad <finstad@Vetles-MacBook-Pro-2.local>
1 parent 02c7c1f commit 868f457

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## [59.2.2]
2+
- [ContentPage] Made `ModalNavigationRenderer` public to allow consumer customization.
3+
14
## [59.2.1]
25
- Bump maui controls
36

src/library/DIPS.Mobile.UI/Components/Pages/iOS/ModalNavigationRenderer.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@
55

66
namespace DIPS.Mobile.UI.Components.Pages;
77

8-
internal class ModalNavigationRenderer : NavigationRenderer
8+
/// <summary>
9+
/// iOS navigation renderer for modal <see cref="NavigationPage"/> instances, providing status bar style updates based on the navigation bar background color.
10+
/// </summary>
11+
/// <remarks>
12+
/// Consumers can subclass this renderer and register their subclass as the <see cref="NavigationPage"/> handler to customize modal navigation behavior on iOS.
13+
/// </remarks>
14+
public class ModalNavigationRenderer : NavigationRenderer
915
{
1016
protected override void OnElementChanged(VisualElementChangedEventArgs e)
1117
{

0 commit comments

Comments
 (0)