Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 77f1133

Browse files
committed
Fixed login lifecycle in UWP
1 parent 811f9a0 commit 77f1133

File tree

1 file changed

+7
-21
lines changed
  • src/Mobile/eShopOnContainers/eShopOnContainers.Core/Views

1 file changed

+7
-21
lines changed

src/Mobile/eShopOnContainers/eShopOnContainers.Core/Views/LoginView.xaml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -337,28 +337,14 @@
337337
Grid.RowSpan="2"
338338
IsVisible="{Binding IsLogin}">
339339
<WebView
340-
Source="{Binding LoginUrl}"
341-
AbsoluteLayout.LayoutBounds="0, 0, 1, 1"
342-
AbsoluteLayout.LayoutFlags="All">
340+
Source="{Binding LoginUrl}"
341+
AbsoluteLayout.LayoutBounds="0, 0, 1, 1"
342+
AbsoluteLayout.LayoutFlags="All">
343343
<WebView.Behaviors>
344-
<OnPlatform x:TypeArguments="Behavior">
345-
<On Platform="iOS, Android">
346-
<On.Value>
347-
<behaviors:EventToCommandBehavior
348-
EventName="Navigating"
349-
EventArgsConverter="{StaticResource WebNavigatingEventArgsConverter}"
350-
Command="{Binding NavigateCommand}" />
351-
</On.Value>
352-
</On>
353-
<On Platform="UWP">
354-
<On.Value>
355-
<behaviors:EventToCommandBehavior
356-
EventName="Navigated"
357-
EventArgsConverter="{StaticResource WebNavigatedEventArgsConverter}"
358-
Command="{Binding NavigateCommand}" />
359-
</On.Value>
360-
</On>
361-
</OnPlatform>
344+
<behaviors:EventToCommandBehavior
345+
EventName="Navigating"
346+
EventArgsConverter="{StaticResource WebNavigatingEventArgsConverter}"
347+
Command="{Binding NavigateCommand}" />
362348
</WebView.Behaviors>
363349
</WebView>
364350
</AbsoluteLayout>

0 commit comments

Comments
 (0)