Skip to content

Commit

Permalink
chore: Apply code review
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Oct 14, 2024
1 parent 33e3c53 commit 6fef97a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uno.UI/UI/Xaml/Controls/Frame/Frame.partial.mux.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 6fef97a

Please sign in to comment.