Nextrek
Diff Revisions
798
vs
799
for /Android/SmartCharging/SmartCharging_WP/SmartCharging/StandardUserLoggedInPage.xaml.cs
|
@@ -82,6 +82,9 @@ |
82 |
82 |
|
if (user == null) |
83 |
83 |
|
{ |
84 |
84 |
|
await this.errorHandler.ShowError(resourceLoader.GetString("LoginNeededMessage")); |
|
85 |
+ |
await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, |
|
86 |
+ |
() => this.Frame.Navigate(typeof(LoginPage))); |
|
87 |
+ |
|
85 |
88 |
|
} |
86 |
89 |
|
else { |
87 |
90 |
|
if (user.UserType == USER_TYPE.Owner) |
|
@@ -146,7 +149,7 @@ |
146 |
149 |
|
private void RechargeNowButton_Tapped(object sender, TappedRoutedEventArgs e) |
147 |
150 |
|
{ |
148 |
151 |
|
var aw = Dispatcher.RunAsync(CoreDispatcherPriority.Normal, |
149 |
|
- |
() => this.Frame.Navigate(typeof(MapPage), this.selectedSiteType)); |
|
152 |
+ |
() => this.Frame.Navigate(typeof(MapPage))); |
150 |
153 |
|
} |
151 |
154 |
|
|
152 |
155 |
|
private void ManageSiteButton_Tapped(object sender, TappedRoutedEventArgs e) |