Skip to content

Commit

Permalink
chore: Use non-generic version of the method
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Nov 25, 2024
1 parent 4326360 commit 754ac21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uno.UI/Controls/RootViewController.iOS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ private void Initialize()
// iOS 17+ only
if (UIDevice.CurrentDevice.CheckSystemVersion(17, 0))
{
((IUITraitChangeObservable)this).RegisterForTraitChanges<UITraitUserInterfaceStyle>((env, traits) => SystemThemeHelper.RefreshSystemTheme());
((IUITraitChangeObservable)this).RegisterForTraitChanges((env, traits) => SystemThemeHelper.RefreshSystemTheme());
}
}

Expand Down

0 comments on commit 754ac21

Please sign in to comment.