From 9a21fbdec5218678d0710353875a38fc6fb11ad1 Mon Sep 17 00:00:00 2001 From: Luiz Henrique Cassettari Date: Tue, 9 Jul 2024 19:20:54 -0300 Subject: [PATCH] Update `RibbonThemeUtils` --- Directory.Build.props | 2 +- ricaun.Revit.UI/Utils/RibbonThemeUtils.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 544470a..7865bfc 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,5 +1,5 @@ - 0.6.3-beta.3 + 0.6.3-beta.4 \ No newline at end of file diff --git a/ricaun.Revit.UI/Utils/RibbonThemeUtils.cs b/ricaun.Revit.UI/Utils/RibbonThemeUtils.cs index 2aaa797..cbd80cb 100644 --- a/ricaun.Revit.UI/Utils/RibbonThemeUtils.cs +++ b/ricaun.Revit.UI/Utils/RibbonThemeUtils.cs @@ -46,7 +46,7 @@ public class RibbonThemeUtils /// /// Theme is Dark /// - public bool IsDark => !IsLight; + public static bool IsDark => !IsLight; #if NET47_OR_GREATER || NET static RibbonThemeUtils()