diff options
| author | SamusAranX <hallo@emmalyx.site> | 2023-05-12 01:56:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-12 01:56:37 +0200 |
| commit | 531da8a1c0760c8ebf121ac83ba4c840ead9e443 (patch) | |
| tree | 1cc849b054d33f0981444e9ba7323c0a15235f92 /src/Ryujinx.Ava/UI/Controls | |
| parent | 5cbdfbc7a4b7413a4f633c77190a79bfc6520e98 (diff) | |
Changed LastPlayed field from string to nullable DateTime (#4861)
* Changed LastPlayed field from string to nullable DateTime
Added ApplicationData.LastPlayedString property
Added NullableDateTimeConverter for the DateTime->string conversion in Avalonia
* Added migration from string-based last_played to DateTime-based last_played_utc
* Updated comment style
* Added MarkupExtension to NullableDateTimeConverter and changed its usage
Cleaned up leftover usings
* Missed one comment
Diffstat (limited to 'src/Ryujinx.Ava/UI/Controls')
| -rw-r--r-- | src/Ryujinx.Ava/UI/Controls/ApplicationListView.axaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ryujinx.Ava/UI/Controls/ApplicationListView.axaml b/src/Ryujinx.Ava/UI/Controls/ApplicationListView.axaml index fa8ebf62..227b4723 100644 --- a/src/Ryujinx.Ava/UI/Controls/ApplicationListView.axaml +++ b/src/Ryujinx.Ava/UI/Controls/ApplicationListView.axaml @@ -129,7 +129,7 @@ TextWrapping="Wrap" /> <TextBlock HorizontalAlignment="Stretch" - Text="{Binding LastPlayed}" + Text="{Binding LastPlayed, Converter={helpers:NullableDateTimeConverter}}" TextAlignment="Right" TextWrapping="Wrap" /> <TextBlock |
