diff --git a/ChatTwo/Ui/ChatLog.cs b/ChatTwo/Ui/ChatLog.cs index 2e9c4b0..445d6a6 100755 --- a/ChatTwo/Ui/ChatLog.cs +++ b/ChatTwo/Ui/ChatLog.cs @@ -69,9 +69,7 @@ internal sealed class ChatLog : IUiComponent { return; } - var sidebar = this.Ui.Plugin.Config.SidebarTabView; - - var currentTab = sidebar + var currentTab = this.Ui.Plugin.Config.SidebarTabView ? this.DrawTabSidebar() : this.DrawTabBar();