Hide clear button

Hide the clear butten when all downloads have finished.
This commit is contained in:
Kevin Richter 2016-03-06 17:51:25 +01:00
parent e1448eaeda
commit f856386bf7

View file

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