aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Ava/UI/Models/Generic
diff options
context:
space:
mode:
authorEmmanuel Hansen <emmausssss@gmail.com>2023-01-03 18:45:08 +0000
committerGitHub <noreply@github.com>2023-01-03 19:45:08 +0100
commit02714a1291e1b548908ffd7adcd537897bf6f541 (patch)
tree4c0aec3e5024115bb994811067733528345b9234 /Ryujinx.Ava/UI/Models/Generic
parent09c9686498c7c987c94f33c79732c7592045e035 (diff)
Avalonia - Add source generator for locale items (#3999)
* Add source generator for locale keys * use locale keys in Ui subdir
Diffstat (limited to 'Ryujinx.Ava/UI/Models/Generic')
-rw-r--r--Ryujinx.Ava/UI/Models/Generic/LastPlayedSortComparer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Ava/UI/Models/Generic/LastPlayedSortComparer.cs b/Ryujinx.Ava/UI/Models/Generic/LastPlayedSortComparer.cs
index b322ed64..98caceb5 100644
--- a/Ryujinx.Ava/UI/Models/Generic/LastPlayedSortComparer.cs
+++ b/Ryujinx.Ava/UI/Models/Generic/LastPlayedSortComparer.cs
@@ -17,12 +17,12 @@ namespace Ryujinx.Ava.UI.Models.Generic
string aValue = x.LastPlayed;
string bValue = y.LastPlayed;
- if (aValue == LocaleManager.Instance["Never"])
+ if (aValue == LocaleManager.Instance[LocaleKeys.Never])
{
aValue = DateTime.UnixEpoch.ToString();
}
- if (bValue == LocaleManager.Instance["Never"])
+ if (bValue == LocaleManager.Instance[LocaleKeys.Never])
{
bValue = DateTime.UnixEpoch.ToString();
}