diff --git a/TINK/TINK/View/Account/AccountPage.xaml.cs b/TINK/TINK/View/Account/AccountPage.xaml.cs
index a3d5c6c..e8d0813 100644
--- a/TINK/TINK/View/Account/AccountPage.xaml.cs
+++ b/TINK/TINK/View/Account/AccountPage.xaml.cs
@@ -36,14 +36,14 @@ namespace TINK.View.Account
BindingContext = m_oViewModel;
}
- /// Displays altert message.
+ /// Displays alert message.
/// Title of message.
/// Message to display.
/// Type of buttons.
public new async Task DisplayAlert(string title, string message, string cancel)
=> await App.Current.MainPage.DisplayAlert(title, message, cancel);
- /// Displays altert message.
+ /// Displays alert message.
/// Title of message.
/// Message to display.
/// Detailed error description.
diff --git a/TINK/TINK/View/BikesAtStation/BikesAtStationPage.xaml.cs b/TINK/TINK/View/BikesAtStation/BikesAtStationPage.xaml.cs
index de48f95..9c69296 100644
--- a/TINK/TINK/View/BikesAtStation/BikesAtStationPage.xaml.cs
+++ b/TINK/TINK/View/BikesAtStation/BikesAtStationPage.xaml.cs
@@ -139,16 +139,14 @@ using TINK.View.MasterDetail;
#endif
}
- /// Displays altert message.
+ /// Displays alert message.
/// Title of message.
/// Message to display.
/// Type of buttons.
public new async Task DisplayAlert(string title, string message, string cancel)
- {
- await App.Current.MainPage.DisplayAlert(title, message, cancel);
- }
+ => await App.Current.MainPage.DisplayAlert(title, message, cancel);
- /// Displays altert message.
+ /// Displays alert message.
/// Title of message.
/// Message to display.
/// Detailed error description.
diff --git a/TINK/TINK/View/Contact/ContactPage.xaml.cs b/TINK/TINK/View/Contact/ContactPage.xaml.cs
index 695d28d..2c5eb2c 100644
--- a/TINK/TINK/View/Contact/ContactPage.xaml.cs
+++ b/TINK/TINK/View/Contact/ContactPage.xaml.cs
@@ -22,7 +22,7 @@ namespace TINK.View.Contact
this);
}
- /// Displays altert message.
+ /// Displays alert message.
/// Title of message.
/// Message to display.
/// Detailed error description.
diff --git a/TINK/TINK/View/Info/BikeInfo/BikeInfoCarouselPage.xaml.cs b/TINK/TINK/View/Info/BikeInfo/BikeInfoCarouselPage.xaml.cs
index 309da31..0505433 100644
--- a/TINK/TINK/View/Info/BikeInfo/BikeInfoCarouselPage.xaml.cs
+++ b/TINK/TINK/View/Info/BikeInfo/BikeInfoCarouselPage.xaml.cs
@@ -27,17 +27,15 @@ namespace TINK.View.Info.BikeInfo
}
///
- /// Displays altert message.
+ /// Displays alert message.
///
/// Title of message.
/// Message to display.
/// Type of buttons.
public new async Task DisplayAlert(string p_strTitle, string p_strMessage, string p_strCancel)
- {
- await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strCancel);
- }
+ => await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strCancel);
- /// Displays altert message.
+ /// Displays alert message.
/// Title of message.
/// Message to display.
/// Detailed error description.
diff --git a/TINK/TINK/View/Login/LoginPage.xaml.cs b/TINK/TINK/View/Login/LoginPage.xaml.cs
index 20d79e7..596b4bc 100644
--- a/TINK/TINK/View/Login/LoginPage.xaml.cs
+++ b/TINK/TINK/View/Login/LoginPage.xaml.cs
@@ -35,17 +35,15 @@ namespace TINK.View.Login
}
///
- /// Displays altert message.
+ /// Displays alert message.
///
/// Title of message.
/// Message to display.
/// Type of buttons.
public new async Task DisplayAlert(string p_strTitle, string p_strMessage, string p_strCancel)
- {
- await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strCancel);
- }
+ => await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strCancel);
- /// Displays altert message.
+ /// Displays alert message.
/// Title of message.
/// Message to display.
/// Detailed error description.
diff --git a/TINK/TINK/View/Map/MapPage.xaml.cs b/TINK/TINK/View/Map/MapPage.xaml.cs
index c6cc14c..5225b2d 100644
--- a/TINK/TINK/View/Map/MapPage.xaml.cs
+++ b/TINK/TINK/View/Map/MapPage.xaml.cs
@@ -31,17 +31,15 @@ namespace TINK.View.Map
}
///
- /// Displays altert message.
+ /// Displays alert message.
///
/// Title of message.
/// Message to display.
/// Type of buttons.
public new async Task DisplayAlert(string p_strTitle, string p_strMessage, string p_strCancel)
- {
- await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strCancel);
- }
+ => await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strCancel);
- /// Displays altert message.
+ /// Displays alert message.
/// Title of message.
/// Message to display.
/// Detailed error description.
diff --git a/TINK/TINK/View/MyBikes/MyBikesPage.xaml.cs b/TINK/TINK/View/MyBikes/MyBikesPage.xaml.cs
index c9741bc..f2d47bc 100644
--- a/TINK/TINK/View/MyBikes/MyBikesPage.xaml.cs
+++ b/TINK/TINK/View/MyBikes/MyBikesPage.xaml.cs
@@ -97,17 +97,15 @@ namespace TINK.View.MyBikes
}
///
- /// Displays altert message.
+ /// Displays alert message.
///
/// Title of message.
/// Message to display.
/// Type of buttons.
public new async Task DisplayAlert(string p_strTitle, string p_strMessage, string p_strCancel)
- {
- await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strCancel);
- }
+ => await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strCancel);
- /// Displays altert message.
+ /// Displays alert message.
/// Title of message.
/// Message to display.
/// Detailed error description.
@@ -138,9 +136,7 @@ namespace TINK.View.MyBikes
/// Text of button.
/// True if user pressed accept.
public new async Task DisplayAlert(string p_strTitle, string p_strMessage, string p_strAccept, string p_strCancel)
- {
- return await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strAccept, p_strCancel);
- }
+ => await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strAccept, p_strCancel);
#if USEMASTERDETAIL || USEFLYOUT
public void ShowPage(ViewTypes p_oType, string p_strTitle = null)
@@ -153,23 +149,14 @@ namespace TINK.View.MyBikes
/// Pushes a page onto the modal stack.
/// Page to display.
- public Task PushModalAsync(ViewTypes p_oTypeOfPage)
- {
- throw new NotSupportedException();
- }
+ public Task PushModalAsync(ViewTypes p_oTypeOfPage) => throw new NotSupportedException();
/// Pops a page from the modal stack.
- public Task PopModalAsync()
- {
- throw new NotSupportedException();
- }
+ public Task PopModalAsync() => throw new NotSupportedException();
/// Pushes a page onto the stack.
/// Page to display.
- public Task PushAsync(ViewTypes p_oTypeOfPage)
- {
- throw new NotSupportedException();
- }
+ public Task PushAsync(ViewTypes p_oTypeOfPage) => throw new NotSupportedException();
#if USCSHARP9
public async Task DisplayUserFeedbackPopup() => await Navigation.ShowPopupAsync(new FeedbackPopup());
diff --git a/TINK/TINK/View/Settings/SettingsPage.xaml.cs b/TINK/TINK/View/Settings/SettingsPage.xaml.cs
index 639f99b..e7f3907 100644
--- a/TINK/TINK/View/Settings/SettingsPage.xaml.cs
+++ b/TINK/TINK/View/Settings/SettingsPage.xaml.cs
@@ -45,7 +45,7 @@ namespace TINK.View.Settings
public new async Task DisplayAlert(string p_strTitle, string p_strMessage, string p_strCancel)
=> await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strCancel);
- /// Displays altert message.
+ /// Displays alert message.
/// Title of message.
/// Message to display.
/// Detailed error description.
diff --git a/TINK/TINK/View/WhatsNew/Agb/AgbPage.xaml.cs b/TINK/TINK/View/WhatsNew/Agb/AgbPage.xaml.cs
index 005c793..b34ae84 100644
--- a/TINK/TINK/View/WhatsNew/Agb/AgbPage.xaml.cs
+++ b/TINK/TINK/View/WhatsNew/Agb/AgbPage.xaml.cs
@@ -23,7 +23,7 @@ namespace TINK.View.WhatsNew.Agb
BindingContext = agbViewModel;
}
- /// Displays altert message.
+ /// Displays alert message.
/// Title of message.
/// Message to display.
/// Detailed error description.
diff --git a/TINK/TINK/View/WhatsNew/WhatsNewPage.xaml.cs b/TINK/TINK/View/WhatsNew/WhatsNewPage.xaml.cs
index 9a67a12..825ae8f 100644
--- a/TINK/TINK/View/WhatsNew/WhatsNewPage.xaml.cs
+++ b/TINK/TINK/View/WhatsNew/WhatsNewPage.xaml.cs
@@ -28,7 +28,7 @@ namespace TINK.View.WhatsNew
BindingContext = WhatsNewViewModel;
}
- /// Displays altert message.
+ /// Displays alert message.
/// Title of message.
/// Message to display.
/// Detailed error description.