mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-08-30 14:05:51 +02:00
Hide clear button
Hide the clear butten when all downloads have finished.
This commit is contained in:
parent
e1448eaeda
commit
f856386bf7
@ -137,6 +137,7 @@ class DownloadFragment : BaseRxFragment<DownloadPresenter>() {
|
|||||||
isRunning = running
|
isRunning = running
|
||||||
startButton?.isVisible = !running && !presenter.downloadQueue.isEmpty()
|
startButton?.isVisible = !running && !presenter.downloadQueue.isEmpty()
|
||||||
pauseButton?.isVisible = running
|
pauseButton?.isVisible = running
|
||||||
|
clearButton?.isVisible = running
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user