diff --git a/SOS/MainPage.xaml.cs b/SOS/MainPage.xaml.cs
index fbaed0a..ee4d498 100644
--- a/SOS/MainPage.xaml.cs
+++ b/SOS/MainPage.xaml.cs
@@ -28,6 +28,7 @@ private async void SOSButtonClicked(object sender, EventArgs e)
if (settingsDbResponse.Status == false)
{
await DisplayAlert("Alert", "SOS number missing", "Ok");
+ SOSButton.BackgroundColor = Colors.Red;
return;
}
@@ -40,6 +41,7 @@ private async void SOSButtonClicked(object sender, EventArgs e)
if (coordinates["found"] is false)
{
await DisplayAlert("Error", "Not able to get location", "Ok");
+ SOSButton.BackgroundColor = Colors.Red;
return;
}
diff --git a/SOS/SOS.csproj b/SOS/SOS.csproj
index ff8b7f1..fabe760 100644
--- a/SOS/SOS.csproj
+++ b/SOS/SOS.csproj
@@ -50,10 +50,9 @@
-
-
-
-
+
+ true
+