When navigation page is changed on UWP platform PageBase.OnDisappearing of the previous page is called after PageBase.OnAppearing of the new one. Therefore no dialog server was set as it was reset by UnregisterDialogServer.
Added condition so as stored dialog server is reset only if unregistration is called for currently stored instance.
When navigation page is changed on UWP platform
PageBase.OnDisappearing
of the previous page is called afterPageBase.OnAppearing
of the new one. Therefore no dialog server was set as it was reset byUnregisterDialogServer
. Added condition so as stored dialog server is reset only if unregistration is called for currently stored instance.