From ce2cd80bf6c5b296701270bac41880ae99546b9a Mon Sep 17 00:00:00 2001 From: "waffle.lord" Date: Fri, 25 Aug 2023 23:46:11 -0400 Subject: [PATCH] add cache info controls --- SPTInstaller/App.axaml | 2 + SPTInstaller/Assets/Styles.axaml | 41 ++++++++++++++++++- SPTInstaller/CustomControls/CacheInfo.axaml | 27 +++++++++++- .../CustomControls/CacheInfo.axaml.cs | 24 +++++++++++ .../Dialogs/WhyCacheThoughDialog.axaml | 38 +++++++++++++++++ .../Dialogs/WhyCacheThoughDialog.axaml.cs | 27 ++++++++++++ SPTInstaller/Helpers/DownloadCacheHelper.cs | 15 +++++++ SPTInstaller/SPTInstaller.csproj | 4 +- SPTInstaller/ViewModels/MessageViewModel.cs | 28 ++++++++++++- SPTInstaller/ViewModels/PreChecksViewModel.cs | 25 ++++++++++- .../Views/DetailedPreChecksView.axaml | 4 ++ SPTInstaller/Views/MainWindow.axaml | 2 +- SPTInstaller/Views/MessageView.axaml | 6 +++ SPTInstaller/Views/PreChecksView.axaml | 5 +++ 14 files changed, 239 insertions(+), 9 deletions(-) create mode 100644 SPTInstaller/CustomControls/Dialogs/WhyCacheThoughDialog.axaml create mode 100644 SPTInstaller/CustomControls/Dialogs/WhyCacheThoughDialog.axaml.cs diff --git a/SPTInstaller/App.axaml b/SPTInstaller/App.axaml index 5a734ba..84fd4c0 100644 --- a/SPTInstaller/App.axaml +++ b/SPTInstaller/App.axaml @@ -38,5 +38,7 @@ /> + diff --git a/SPTInstaller/Assets/Styles.axaml b/SPTInstaller/Assets/Styles.axaml index d25af7c..b22a99f 100644 --- a/SPTInstaller/Assets/Styles.axaml +++ b/SPTInstaller/Assets/Styles.axaml @@ -5,7 +5,7 @@ > -