Skip to content

Commit

Permalink
- fix banned api
Browse files Browse the repository at this point in the history
  • Loading branch information
PureWeen committed Sep 29, 2023
1 parent eda76fc commit 82d7afc
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -144,7 +144,7 @@ public async Task ToggleFullscreenTitleBarWorks()
await CreateHandlerAndAddToWindow<IWindowHandler>(mainPage, async (handler) =>
{
var mauiToolBar = GetPlatformToolbar(handler);
var presenter = handler.PlatformView.AppWindow.Presenter as OverlappedPresenter;
var presenter = handler.PlatformView.GetAppWindow()?.Presenter as OverlappedPresenter;
var rootView = GetWindowRootView(handler);
var defaultTitleBarHeight = rootView.AppTitleBarActualHeight;
Assert.True(defaultTitleBarHeight > 0);
Expand Down

0 comments on commit 82d7afc

Please sign in to comment.