Skip to content

Commit

Permalink
remove hardcoded strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
edgiardina committed Jan 2, 2025
1 parent 16ab565 commit 47de57f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Views/ChampionshipSeriesPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ protected override void OnAppearing()

private async void ToolbarItem_Clicked(object sender, EventArgs e)
{
string action = await DisplayActionSheet("Championship Series Year", "Cancel", null, ViewModel.AvailableYears.Select(n => n.ToString()).ToArray());
string action = await DisplayActionSheet(Strings.PlayerChampionshipSeriesPage_YearPrompt, Strings.Cancel, null, ViewModel.AvailableYears.Select(n => n.ToString()).ToArray());

if (int.TryParse(action, out var yearValue))
{
Expand Down

0 comments on commit 47de57f

Please sign in to comment.