Skip to content

Commit

Permalink
🎨 idle fixs
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzaz committed Nov 11, 2023
1 parent a961f68 commit e6953e5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@ private async Task SteamAppsSort()
IEnumerable<Badge> badges;
if (IdleSequentital == IdleSequentital.Mostvalue)
{
badges = await IdleCard.GetBadgesAsync(SteamConnectService.Current.CurrentSteamUser!.SteamId64.ToString(), true);
(UserIdleInfo, badges) = await IdleCard.GetBadgesAsync(SteamConnectService.Current.CurrentSteamUser!.SteamId64.ToString(), true);
}
else
{
badges = await IdleCard.GetBadgesAsync(SteamConnectService.Current.CurrentSteamUser!.SteamId64.ToString());
(UserIdleInfo, badges) = await IdleCard.GetBadgesAsync(SteamConnectService.Current.CurrentSteamUser!.SteamId64.ToString());
}

Badges.Clear();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ public sealed partial class IdleCardPageViewModel
[Reactive]
public string? RuningCountTxt { get; set; }

[Reactive]
public UserIdleInfo? UserIdleInfo { get; set; }

/// <summary>
/// 正在挂卡游戏
/// </summary>
Expand Down

0 comments on commit e6953e5

Please sign in to comment.