Merge branch '4.6.0' into 4.7.0

This commit is contained in:
Rui Marinho 2020-06-28 14:34:22 +01:00
Родитель 077d57922c 2e5181a315
Коммит ec2f390df9
2 изменённых файлов: 12 добавлений и 2 удалений

Просмотреть файл

@ -13,7 +13,9 @@
<Product>Xamarin.Forms</Product> <Product>Xamarin.Forms</Product>
<ProduceReferenceAssembly Condition="'$(UsingMicrosoftNETSdk)' == 'True' AND '$(Configuration)' == 'Debug'">True</ProduceReferenceAssembly> <ProduceReferenceAssembly Condition="'$(UsingMicrosoftNETSdk)' == 'True' AND '$(Configuration)' == 'Debug'">True</ProduceReferenceAssembly>
</PropertyGroup> </PropertyGroup>
<PropertyGroup>
<GitDefaultBranch>main</GitDefaultBranch>
</PropertyGroup>
<Import Condition="'$(SampleProject)' != 'True'" Project="SourceLink.Build.props" /> <Import Condition="'$(SampleProject)' != 'True'" Project="SourceLink.Build.props" />
<!-- This target is replaced by GitInfo when restored. Allows Version.targets to rely on it before restore. --> <!-- This target is replaced by GitInfo when restored. Allows Version.targets to rely on it before restore. -->
<Target Name="GitVersion" /> <Target Name="GitVersion" />

Просмотреть файл

@ -334,6 +334,14 @@ namespace Xamarin.Forms.Platform.UWP
else else
{ {
RemovePage(previousPage); RemovePage(previousPage);
if(!modal && _modalBackgroundPage != null)
{
RemovePage(_modalBackgroundPage);
_modalBackgroundPage.Cleanup();
_modalBackgroundPage.Parent = null;
}
_modalBackgroundPage = null; _modalBackgroundPage = null;
} }
@ -673,4 +681,4 @@ namespace Xamarin.Forms.Platform.UWP
e.Handled = BackButtonPressed(); e.Handled = BackButtonPressed();
} }
} }
} }