Fixed login lifecycle in UWP

This commit is contained in:
Marcos Cobeña Morián 2018-03-21 16:24:36 +01:00
parent 811f9a027a
commit 77f11330ae

View File

@ -341,24 +341,10 @@
AbsoluteLayout.LayoutBounds="0, 0, 1, 1" AbsoluteLayout.LayoutBounds="0, 0, 1, 1"
AbsoluteLayout.LayoutFlags="All"> AbsoluteLayout.LayoutFlags="All">
<WebView.Behaviors> <WebView.Behaviors>
<OnPlatform x:TypeArguments="Behavior">
<On Platform="iOS, Android">
<On.Value>
<behaviors:EventToCommandBehavior <behaviors:EventToCommandBehavior
EventName="Navigating" EventName="Navigating"
EventArgsConverter="{StaticResource WebNavigatingEventArgsConverter}" EventArgsConverter="{StaticResource WebNavigatingEventArgsConverter}"
Command="{Binding NavigateCommand}" /> Command="{Binding NavigateCommand}" />
</On.Value>
</On>
<On Platform="UWP">
<On.Value>
<behaviors:EventToCommandBehavior
EventName="Navigated"
EventArgsConverter="{StaticResource WebNavigatedEventArgsConverter}"
Command="{Binding NavigateCommand}" />
</On.Value>
</On>
</OnPlatform>
</WebView.Behaviors> </WebView.Behaviors>
</WebView> </WebView>
</AbsoluteLayout> </AbsoluteLayout>