fixup! Address button color issues
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -54,7 +54,7 @@ class UpdateButton : RelativeLayout {
|
|||||||
|
|
||||||
fun updateState(downloadStatus: DownloadStatus) {
|
fun updateState(downloadStatus: DownloadStatus) {
|
||||||
val displayChild = when (downloadStatus) {
|
val displayChild = when (downloadStatus) {
|
||||||
DownloadStatus.QUEUED -> 1
|
DownloadStatus.QUEUED,
|
||||||
DownloadStatus.DOWNLOADING -> 2
|
DownloadStatus.DOWNLOADING -> 2
|
||||||
else -> 0
|
else -> 0
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user