From 99368cbfc6ebcb6079f643bcdefba8f0cb1bf717 Mon Sep 17 00:00:00 2001 From: Pat Hartl Date: Fri, 15 Nov 2024 23:41:53 -0600 Subject: [PATCH] Update state of game detail buttons when adding/installing/removing --- .../Depot/Components/DepotGameDetails.razor | 75 +++++++++++++++++-- 1 file changed, 68 insertions(+), 7 deletions(-) diff --git a/LANCommander.Launcher/UI/Depot/Components/DepotGameDetails.razor b/LANCommander.Launcher/UI/Depot/Components/DepotGameDetails.razor index 8f1e7a48..7b4034af 100644 --- a/LANCommander.Launcher/UI/Depot/Components/DepotGameDetails.razor +++ b/LANCommander.Launcher/UI/Depot/Components/DepotGameDetails.razor @@ -8,6 +8,7 @@ @inject ILogger Logger @inject NavigationManager NavigationManager @inject ModalService ModalService +@inject IMessageService MessageService @if (SelectedGame != null) @@ -44,19 +45,19 @@ } else { - + } @if (SelectedGame.InLibrary) { -