mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-27 21:43:14 +08:00
save
This commit is contained in:
@@ -194,6 +194,14 @@
|
||||
</TreeView.ItemTemplate>
|
||||
</TreeView>-->
|
||||
<Panel>
|
||||
<StackPanel IsVisible="{Binding IsSteamAppsEmpty}"
|
||||
HorizontalAlignment="Center" VerticalAlignment="Center" Spacing="10">
|
||||
<controls:ProgressRing IsIndeterminate="True"
|
||||
Width="150" Height="150">
|
||||
</controls:ProgressRing>
|
||||
<TextBlock Text="正在加载游戏列表..."></TextBlock>
|
||||
</StackPanel>
|
||||
|
||||
<TextBlock IsVisible="{Binding IsSteamAppsEmpty}"
|
||||
Text="{ReflectionBinding Path=Res.GameList_IsEmpty,Mode=OneWay,Source={x:Static resx:R.Current}}"
|
||||
TextWrapping="WrapWithOverflow"
|
||||
|
||||
@@ -154,7 +154,7 @@ namespace System.Application.Services
|
||||
LoadGames(ApiService.OwnsApps(SteamApps.Items));
|
||||
break;
|
||||
}
|
||||
await Task.Delay(2000);
|
||||
Thread.Sleep(2000);
|
||||
}
|
||||
|
||||
//var mainViewModel = (IWindowService.Instance.MainWindow as WindowViewModel);
|
||||
|
||||
@@ -158,6 +158,7 @@ namespace System.Application.UI.ViewModels
|
||||
set => this.RaiseAndSetIfChanged(ref _SearchText, value);
|
||||
}
|
||||
|
||||
public bool IsSteamAppsLoading => IsSteamAppsEmpty;
|
||||
public bool IsSteamAppsEmpty => !SteamApps.Any_Nullable();
|
||||
|
||||
private ObservableCollection<EnumModel<SteamAppType>> _AppTypeFiltres = new();
|
||||
|
||||
Reference in New Issue
Block a user