mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
refact: modified as requested
This commit is contained in:
parent
18844e734f
commit
06753c8357
1 changed files with 1 additions and 3 deletions
|
@ -170,9 +170,7 @@ open class PieFetchButton(context: Context, attributeSet: AttributeSet) :
|
||||||
this.setPersistentId(card.id)
|
this.setPersistentId(card.id)
|
||||||
view.setOnClickListener {
|
view.setOnClickListener {
|
||||||
if (isZeroBytes) {
|
if (isZeroBytes) {
|
||||||
if (getKey(KEY_RESUME_PACKAGES, card.id) != null) {
|
removeKey(KEY_RESUME_PACKAGES, card.id.toString())
|
||||||
removeKey(KEY_RESUME_PACKAGES, card.id.toString())
|
|
||||||
}
|
|
||||||
callback(DownloadClickEvent(DOWNLOAD_ACTION_DOWNLOAD, card))
|
callback(DownloadClickEvent(DOWNLOAD_ACTION_DOWNLOAD, card))
|
||||||
//callback.invoke(DownloadClickEvent(DOWNLOAD_ACTION_DOWNLOAD, data))
|
//callback.invoke(DownloadClickEvent(DOWNLOAD_ACTION_DOWNLOAD, data))
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue