From 6fef97ae192140f0b8c97e37f2597ac7f0cb51b7 Mon Sep 17 00:00:00 2001 From: Martin Zikmund Date: Mon, 14 Oct 2024 15:43:43 +0200 Subject: [PATCH] chore: Apply code review --- src/Uno.UI/UI/Xaml/Controls/Frame/Frame.partial.mux.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Uno.UI/UI/Xaml/Controls/Frame/Frame.partial.mux.cs b/src/Uno.UI/UI/Xaml/Controls/Frame/Frame.partial.mux.cs index b6f20728cd41..c30c39b88a0d 100644 --- a/src/Uno.UI/UI/Xaml/Controls/Frame/Frame.partial.mux.cs +++ b/src/Uno.UI/UI/Xaml/Controls/Frame/Frame.partial.mux.cs @@ -50,7 +50,7 @@ protected override void OnApplyTemplate() base.OnApplyTemplate(); #if HAS_UNO - if (this.TemplatedRoot?.GetType().Name?.Contains("NativeFramePresenter", StringComparison.OrdinalIgnoreCase) == true) + if (this.TemplatedRoot?.GetType().Name?.Contains("NativeFramePresenter", StringComparison.Ordinal) == true) { // It is not possible to use the WinUI behavior with a NativeFramePresenter. if (this.Log().IsEnabled(LogLevel.Error))