Added default value to magisk subject
This commit is contained in:
parent
21ed759e53
commit
501b18f986
@ -1,6 +1,7 @@
|
|||||||
package com.topjohnwu.magisk.model.entity.internal
|
package com.topjohnwu.magisk.model.entity.internal
|
||||||
|
|
||||||
import android.os.Parcelable
|
import android.os.Parcelable
|
||||||
|
import com.topjohnwu.magisk.Info
|
||||||
import com.topjohnwu.magisk.model.entity.MagiskJson
|
import com.topjohnwu.magisk.model.entity.MagiskJson
|
||||||
import kotlinx.android.parcel.Parcelize
|
import kotlinx.android.parcel.Parcelize
|
||||||
import com.topjohnwu.magisk.model.entity.Module as MagiskModule
|
import com.topjohnwu.magisk.model.entity.Module as MagiskModule
|
||||||
@ -23,8 +24,8 @@ sealed class DownloadSubject : Parcelable {
|
|||||||
|
|
||||||
@Parcelize
|
@Parcelize
|
||||||
data class Magisk(
|
data class Magisk(
|
||||||
val magisk: MagiskJson,
|
val configuration: Configuration,
|
||||||
val configuration: Configuration
|
val magisk: MagiskJson = Info.remote.magisk
|
||||||
) : DownloadSubject() {
|
) : DownloadSubject() {
|
||||||
|
|
||||||
override val url: String get() = magisk.link
|
override val url: String get() = magisk.link
|
||||||
|
Loading…
Reference in New Issue
Block a user