From d4250cee323a8c8b05cd51017d50895b891a8a93 Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Sun, 23 Apr 2023 15:57:53 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= 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 9ee9b951..af3a78c7 100644 --- a/lua/app/ui/main_city/component/main_comp.lua +++ b/lua/app/ui/main_city/component/main_comp.lua @@ -74,7 +74,7 @@ function MainComp:refreshChapter(force) self.rightArrow:setVisible(false) else self.leftArrow:setVisible(true) - self.rightArrow:setVisible(true) + self.rightArrow:setVisible(chapterId ~= DataManager.ChapterData:getNextChapter(chapterId)) end local isHaveLeftRewards = DataManager.ChapterData:getIsHaveRewardsBeforeId(chapterId) if isHaveLeftRewards then