mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-03 06:57:12 +02:00
Compare commits
14 commits
dd3c523555
...
1cf36d3283
Author | SHA1 | Date | |
---|---|---|---|
![]() |
1cf36d3283 | ||
![]() |
22957b9140 | ||
![]() |
db22c3af25 | ||
![]() |
37ba4b8cd3 | ||
![]() |
0d7abc0c4e | ||
![]() |
b6f6f8303f | ||
![]() |
4ffe38731b | ||
![]() |
eb41143988 | ||
![]() |
745200373b | ||
![]() |
2e18008d4b | ||
![]() |
84e078f94c | ||
![]() |
2c01f30f41 | ||
![]() |
c2d84ffdde | ||
![]() |
4a8463c2f7 |
2 changed files with 4 additions and 9 deletions
|
@ -310,15 +310,10 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
|
||||
private void TotalTimePlayed_Recalculated(Optional<TimeSpan> ts)
|
||||
{
|
||||
if (ts.HasValue)
|
||||
{
|
||||
var formattedPlayTime = ValueFormatUtils.FormatTimeSpan(ts.Value);
|
||||
LocaleManager.Instance.SetDynamicValues(LocaleKeys.GameListLabelTotalTimePlayed, formattedPlayTime);
|
||||
ShowTotalTimePlayed = formattedPlayTime != string.Empty;
|
||||
return;
|
||||
}
|
||||
|
||||
ShowTotalTimePlayed = ts.HasValue;
|
||||
|
||||
if (ts.HasValue)
|
||||
LocaleManager.Instance.SetDynamicValues(LocaleKeys.GameListLabelTotalTimePlayed, ValueFormatUtils.FormatTimeSpan(ts.Value));
|
||||
}
|
||||
|
||||
public bool ShowTotalTimePlayed
|
||||
|
@ -339,6 +334,7 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
_listSelectedApplication = value;
|
||||
|
||||
if (_listSelectedApplication != null && ListAppContextMenu == null)
|
||||
|
||||
ListAppContextMenu = new ApplicationContextMenu();
|
||||
else if (_listSelectedApplication == null && ListAppContextMenu != null)
|
||||
ListAppContextMenu = null!;
|
||||
|
|
|
@ -64,7 +64,6 @@
|
|||
MinWidth="200"
|
||||
Height="6"
|
||||
VerticalAlignment="Center"
|
||||
Margin="0, 0, 5, 0"
|
||||
Foreground="{DynamicResource SystemAccentColorLight2}"
|
||||
IsVisible="{Binding StatusBarVisible}"
|
||||
Maximum="{Binding StatusBarProgressMaximum}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue