Skip to content

Commit

Permalink
Dependency updates + button background colour reset fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adityaoberai committed Jan 22, 2023
1 parent 912ef97 commit 0f85d5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions SOS/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}

Expand Down
7 changes: 3 additions & 4 deletions SOS/SOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,9 @@
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="sqlite-net-pcl" Version="1.8.116" />
<PackageReference Include="SQLitePCLRaw.core" Version="2.1.0" />
<PackageReference Include="SQLitePCLRaw.bundle_green" Version="2.1.0" />
<PackageReference Include="SQLitePCLRaw.provider.dynamic_cdecl" Version="2.1.0" />
<PackageReference Include="SQLitePCLRaw.provider.sqlite3" Version="2.1.0" />
<PackageReference Include="SQLitePCLRaw.bundle_green" Version="2.1.4">
<TreatAsUsed>true</TreatAsUsed>
</PackageReference>
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 0f85d5b

Please sign in to comment.