Merge branch '4.6.0' into 4.7.0
This commit is contained in:
Коммит
ec2f390df9
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче