mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-25 03:01:02 +00:00
fix: more combining shit
This commit is contained in:
@@ -24,7 +24,7 @@ class DownloadAddonManager(
|
||||
override var name: String = "Download Addon"
|
||||
override var type = AddonType.DOWNLOAD
|
||||
|
||||
private val _isInitialized = MutableLiveData<Boolean>().apply { value = false }
|
||||
private val _isInitialized = MutableLiveData<Boolean>().apply { postValue(false) }
|
||||
val isInitialized: LiveData<Boolean> = _isInitialized
|
||||
|
||||
private var error: String? = null
|
||||
|
||||
@@ -25,7 +25,7 @@ class TorrentAddonManager(
|
||||
override var type: AddonType = AddonType.TORRENT
|
||||
var torrentHash: String? = null
|
||||
|
||||
private val _isInitialized = MutableLiveData<Boolean>().apply { value = false }
|
||||
private val _isInitialized = MutableLiveData<Boolean>().apply { postValue(false) }
|
||||
val isInitialized: LiveData<Boolean> = _isInitialized
|
||||
|
||||
private var error: String? = null
|
||||
|
||||
Reference in New Issue
Block a user