Skip to content

Commit 6f2dadf

Browse files
committed
fix: mac title bar color wrong
1 parent 5567e2a commit 6f2dadf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MauiBlazorToolkit/MauiBlazorToolkit/Platform/TitleBar/TitleBar.macos.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ static void PlatformSetStyle(TitleBarStyle style)
2525
TitleBarStyle.DarkContent => Colors.Black,
2626
_ => throw new NotSupportedException($"{nameof(TitleBarStyle)} {style} is not yet supported on iOS")
2727
};
28-
Resources["PageBackgroundColor"] = color;
28+
Resources["PrimaryTextColor"] = color;
2929
}
3030

3131
public static void Initialize()

0 commit comments

Comments
 (0)