[create-pull-request] automated change (#15921)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Родитель
efd3a5a249
Коммит
db60162cc3
|
@ -32,7 +32,7 @@ namespace Microsoft.Maui.DeviceTests
|
|||
await CreateHandlerAndAddToWindow<IWindowHandler>(mainPage, (handler) =>
|
||||
{
|
||||
var mainWindow = handler.VirtualView as Window;
|
||||
|
||||
|
||||
mainWindow.Page = secondaryPage;
|
||||
Assert.Equal(mainWindow.Page, secondaryPage);
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ namespace Microsoft.Maui.Handlers
|
|||
{
|
||||
platformView.CrossPlatformLayout = null;
|
||||
platformView.Children?.Clear();
|
||||
|
||||
|
||||
base.DisconnectHandler(platformView);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -116,7 +116,7 @@ namespace Microsoft.Maui.Platform
|
|||
|
||||
if (_rootView.Content is RootNavigationView navView)
|
||||
navView.Content = null;
|
||||
|
||||
|
||||
_rootView.Content = null;
|
||||
_disconnected = true;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче