Skip to content

Commit

Permalink
Merge pull request #184 from IsaacMorris1980/RewriteApp2
Browse files Browse the repository at this point in the history
Inlined variable to remove warnings
  • Loading branch information
IsaacMorris1980 authored Jul 8, 2023
2 parents ff3571b + 1f169c9 commit 21ff1f0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions appLauncher/Core/Pages/SettingsPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private async void AddButton_TappedAsync(object sender, TappedRoutedEventArgs e)
Debug.WriteLine("Operation cancelled.");
}
}
catch (Exception ex)
catch (Exception)
{

}
Expand All @@ -114,7 +114,7 @@ private void RemoveButton_Tapped(object sender, TappedRoutedEventArgs e)
imagelist.Items.Remove(imagelist.SelectedItem);
}
}
catch (Exception ex)
catch (Exception)
{

}
Expand Down Expand Up @@ -186,8 +186,7 @@ private void SaveChanges_Tapped(object sender, TappedRoutedEventArgs e)

private void SaveSettings_Tapped(object sender, TappedRoutedEventArgs e)
{
int time = 0;
if (int.TryParse(ChangeTime.Text, out time))
if (int.TryParse(ChangeTime.Text, out int time))
{


Expand Down

0 comments on commit 21ff1f0

Please sign in to comment.