Merge pull request #2122 from mellson/develop
bug fix for UWP compilation
This commit is contained in:
Коммит
fe05ebcf8a
|
@ -45,9 +45,12 @@ namespace MvvmCross.Forms.Uwp
|
|||
{
|
||||
get
|
||||
{
|
||||
if (!Xamarin.Forms.Forms.IsInitialized)
|
||||
if (_formsApplication == null)
|
||||
{
|
||||
Xamarin.Forms.Forms.Init(_launchActivatedEventArgs);
|
||||
_formsApplication = _formsApplication ?? CreateFormsApplication();
|
||||
_formsApplication = _formsApplication ?? CreateFormsApplication();
|
||||
}
|
||||
return _formsApplication;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче