瀏覽代碼

Hide clear button

Hide the clear butten when all downloads have finished.
Kevin Richter 9 年之前
父節點
當前提交
f856386bf7
共有 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
     }
 
     /**