From fe18d54aa76596a0082c20874f4a0e1f1535d5c3 Mon Sep 17 00:00:00 2001 From: chenxi Date: Wed, 26 Apr 2023 19:43:12 +0800 Subject: [PATCH] =?UTF-8?q?gm=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/ui/main_city/component/main_comp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/app/ui/main_city/component/main_comp.lua b/lua/app/ui/main_city/component/main_comp.lua index b7507b45..8383c3a1 100644 --- a/lua/app/ui/main_city/component/main_comp.lua +++ b/lua/app/ui/main_city/component/main_comp.lua @@ -51,7 +51,7 @@ end function MainComp:initGM() self.btnGM = self.uiMap["main_comp.gm_btn"] - self.btnGM:setVisible(not Platform:getIsPublishChannel(), 2) + self.btnGM:setVisible(Platform:getIsDevChannel(), 2) self.btnGM:addClickListener(function() ModuleManager.DevToolManager:showOrHideDevListUI() end)