diff --git a/BTCPayServer.PluginPacker/Program.cs b/BTCPayServer.PluginPacker/Program.cs index 0987d6bba..2db059271 100644 --- a/BTCPayServer.PluginPacker/Program.cs +++ b/BTCPayServer.PluginPacker/Program.cs @@ -72,7 +72,7 @@ namespace BTCPayServer.PluginPacker { await CreateShasums("powershell.exe", sha256dirs, outputDir); } - catch (Exception e) + catch (Exception) { try { diff --git a/BTCPayServer/BTCPayServer.csproj b/BTCPayServer/BTCPayServer.csproj index 9a5ed52a5..0323ba951 100644 --- a/BTCPayServer/BTCPayServer.csproj +++ b/BTCPayServer/BTCPayServer.csproj @@ -1,4 +1,4 @@ - + @@ -226,9 +226,5 @@ - - - - diff --git a/BTCPayServer/Components/StoreSelector/Default.cshtml b/BTCPayServer/Components/StoreSelector/Default.cshtml index 219c44ae1..c3d8bac4a 100644 --- a/BTCPayServer/Components/StoreSelector/Default.cshtml +++ b/BTCPayServer/Components/StoreSelector/Default.cshtml @@ -2,9 +2,9 @@ @inject SignInManager _signInManager @model BTCPayServer.Components.StoreSelector.StoreSelectorViewModel @addTagHelper *, BundlerMinifier.TagHelpers - @functions { @* ReSharper disable once CSharpWarnings::CS1998 *@ + #pragma warning disable 1998 private async Task LogoContent() { var logoSrc = $"{ViewContext.HttpContext.Request.PathBase}/img/logo.svg"; @@ -14,13 +14,12 @@ @_env.NetworkType.ToString() } } - private string StoreName(string title) { return string.IsNullOrEmpty(title) ? "Unnamed Store" : title; } + #pragma warning restore 1998 } - @if (Model.CurrentStoreId == null) { @{await LogoContent();} diff --git a/BTCPayServer/Views/UIStores/_Nav.cshtml b/BTCPayServer/Views/UIStores/_Nav.cshtml index 6a53598ef..d70193e53 100644 --- a/BTCPayServer/Views/UIStores/_Nav.cshtml +++ b/BTCPayServer/Views/UIStores/_Nav.cshtml @@ -15,7 +15,7 @@ Access Tokens Users @* ReSharper disable once CSharpWarnings::CS0618 *@ - Plugins + Plugins Webhooks Payout Processors Emails