We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62fa75c commit 7da6fb2Copy full SHA for 7da6fb2
src/WinUI/ArcGIS.WinUI.Viewer/SourceCodeViewer.xaml.cs
@@ -78,6 +78,8 @@ public async Task LoadSourceCodeAsync()
78
{
79
// Load web view.
80
await WebView.EnsureCoreWebView2Async();
81
+ // Force light mode for source code viewer as WinUI Sample Viewer doesn't use dark theme currently.
82
+ WebView.CoreWebView2.Profile.PreferredColorScheme = CoreWebView2PreferredColorScheme.Light;
83
}
84
catch (Exception ex)
85
0 commit comments