mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-12 07:36:59 +00:00
[ci skip] chore: Fix usage of var
This commit is contained in:
parent
f46577af58
commit
5b3b907fd2
18 changed files with 83 additions and 82 deletions
|
|
@ -348,7 +348,7 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
{
|
||||
if (ts.HasValue)
|
||||
{
|
||||
var formattedPlayTime = ValueFormatUtils.FormatTimeSpan(ts.Value);
|
||||
string formattedPlayTime = ValueFormatUtils.FormatTimeSpan(ts.Value);
|
||||
LocaleManager.Associate(LocaleKeys.GameListLabelTotalTimePlayed, formattedPlayTime);
|
||||
ShowTotalTimePlayed = formattedPlayTime != string.Empty;
|
||||
return;
|
||||
|
|
@ -827,10 +827,10 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
|
||||
private void RefreshGrid()
|
||||
{
|
||||
var appsList = Applications.ToObservableChangeSet()
|
||||
IObservableList<ApplicationData> appsList = Applications.ToObservableChangeSet()
|
||||
.Filter(Filter)
|
||||
.Sort(GetComparer())
|
||||
.Bind(out var apps)
|
||||
.Bind(out ReadOnlyObservableCollection<ApplicationData> apps)
|
||||
.AsObservableList();
|
||||
|
||||
AppsObservableList = apps;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue