diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/App.xaml.cs b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/App.xaml.cs
index f53b7f295b..b2ca0d9828 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/App.xaml.cs
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/App.xaml.cs
@@ -111,7 +111,7 @@ private async Task CheckForUpdates()
{
if (await AppStoreInfo.Current.IsUsingLatestVersionAsync() is false)
{
- var newVersion = AppStoreInfo.Current.GetLatestVersionAsync();
+ var newVersion = await AppStoreInfo.Current.GetLatestVersionAsync();
var releaseNotes = (await AppStoreInfo.Current.GetInformationAsync()).ReleaseNotes;
if (await storageService.GetItem($"{newVersion}_UpdateFromVersionIsRequested") is not "true")
@@ -120,7 +120,7 @@ private async Task CheckForUpdates()
// It's an opportune moment to request an update. (:
// https://github.com/oscoreio/Maui.AppStoreInfo
- if (await App.Current!.Windows[0].Page!.DisplayAlert(localizer[nameof(AppStrings.NewVersionIsAvailable)], localizer[nameof(AppStrings.UpdateToNewVersion), releaseNotes], localizer[nameof(AppStrings.Yes)], localizer[nameof(AppStrings.No)]) is true)
+ if (await App.Current!.Windows[0].Page!.DisplayAlert(localizer[nameof(AppStrings.NewVersionIsAvailable), newVersion], localizer[nameof(AppStrings.UpdateToNewVersion), releaseNotes], localizer[nameof(AppStrings.Yes)], localizer[nameof(AppStrings.No)]) is true)
{
await AppStoreInfo.Current.OpenApplicationInStoreAsync();
}
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.fa.resx b/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.fa.resx
index 0d4b84618c..2742554ca5 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.fa.resx
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.fa.resx
@@ -1012,7 +1012,7 @@
بروز رسانی
- نسخه جدید در دسترس است
+ نسخه ورژن {0} در دسترس است
آیا می خواهید به نسخه جدید بروید؟ {0}
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.nl.resx b/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.nl.resx
index daea525fac..7e788854da 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.nl.resx
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.nl.resx
@@ -1012,7 +1012,7 @@
Update
- Nieuwe versie is beschikbaar
+ Nieuwe versie {0} is beschikbaar
Wilt u updaten naar de nieuwe versie? {0}
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.resx b/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.resx
index 4792f08afc..2073430021 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.resx
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.resx
@@ -1012,7 +1012,7 @@
Update
- New version is available
+ New version {0} is available
Would you like to update to the new version? {0}