fixup! Address button color issues

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2024-10-08 17:38:55 +05:30
parent 86f3713ab7
commit 00347ae4fc

View File

@@ -54,7 +54,7 @@ class UpdateButton : RelativeLayout {
fun updateState(downloadStatus: DownloadStatus) {
val displayChild = when (downloadStatus) {
DownloadStatus.QUEUED -> 1
DownloadStatus.QUEUED,
DownloadStatus.DOWNLOADING -> 2
else -> 0
}