From cb80c0651fe298ac5713da2073236bc90745bfc8 Mon Sep 17 00:00:00 2001 From: James Montemagno Date: Fri, 21 Jan 2022 15:30:50 -0800 Subject: [PATCH] Fix up windows bar on top --- src/Mobile/Services/EssentialsExtensions.cs | 22 ++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/src/Mobile/Services/EssentialsExtensions.cs b/src/Mobile/Services/EssentialsExtensions.cs index 7dd3e4e..4716c6b 100644 --- a/src/Mobile/Services/EssentialsExtensions.cs +++ b/src/Mobile/Services/EssentialsExtensions.cs @@ -57,15 +57,19 @@ public static class EssentialsExtensions Platform.PerformActionForShortcutItem(application, shortcutItem, completionHandler); })); #elif WINDOWS - life.AddWindows(windows => windows - .OnActivated((window, args) => - { - Platform.OnActivated(window, args); - }) - .OnLaunched((application, args) => - { - Platform.OnLaunched(args); - })); + life.AddWindows(windows => windows + .OnActivated((window, args) => + { + Platform.OnActivated(window, args); + }) + .OnLaunched((application, args) => + { + Platform.OnLaunched(args); + }) + .OnNativeMessage((app, args) => + { + app.ExtendsContentIntoTitleBar = false; + })); #endif });