Skip to content

Commit

Permalink
🐛 Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
rmbadmin committed Nov 30, 2023
1 parent c9b3191 commit 5d7d00c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ public async Task RefreshGamesListAsync()
if (IsLoadingGameList == false)
{
IsLoadingGameList = true;
if (stmService.IsRunningSteamProcess && OperatingSystem.IsWindows())
if (stmService.IsRunningSteamProcess)
{
await Task.Factory.StartNew(async () =>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ int OrderBy(KeyValuePair<int, MenuTabItemViewModel> m)
{
if (sortTabSettings != null)
{
int i = byte.MaxValue;
int i = 0;
foreach (var item in sortTabSettings)
{
i++;
Expand All @@ -83,7 +83,7 @@ int OrderBy(KeyValuePair<int, MenuTabItemViewModel> m)
.OrderBy(OrderBy)
.ThenBy(x => x.Value.Id);
var sortTabs = new SortedSet<KeyValuePair<int, MenuTabItemViewModel>>(comparer);
int i = 0;
int i = byte.MaxValue;
foreach (var item in tabItems2)
{
sortTabs.Add(new(i, item));
Expand Down

0 comments on commit 5d7d00c

Please sign in to comment.