浏览代码

Merge pull request #202 from beschoenen/patch-1

Hide clear button
inorichi 9 年之前
父节点
当前提交
c2a65c71e1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadFragment.kt

+ 1 - 0
app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadFragment.kt

@@ -137,6 +137,7 @@ class DownloadFragment : BaseRxFragment<DownloadPresenter>() {
         isRunning = running
         startButton?.isVisible = !running && !presenter.downloadQueue.isEmpty()
         pauseButton?.isVisible = running
+        clearButton?.isVisible = running
     }
 
     /**