From d056bb38ca94dc00b3ae839a26403df835b7089e Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 6 Jan 2022 16:19:27 -0500 Subject: [PATCH] refactor: remove extraneous variable --- ChatTwo/Ui/ChatLog.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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();