diff --git a/app/src/main/java/com/topjohnwu/magisk/model/entity/internal/DownloadSubject.kt b/app/src/main/java/com/topjohnwu/magisk/model/entity/internal/DownloadSubject.kt index a6ea53fc5..7d6ee7842 100644 --- a/app/src/main/java/com/topjohnwu/magisk/model/entity/internal/DownloadSubject.kt +++ b/app/src/main/java/com/topjohnwu/magisk/model/entity/internal/DownloadSubject.kt @@ -1,6 +1,7 @@ package com.topjohnwu.magisk.model.entity.internal import android.os.Parcelable +import com.topjohnwu.magisk.Info import com.topjohnwu.magisk.model.entity.MagiskJson import kotlinx.android.parcel.Parcelize import com.topjohnwu.magisk.model.entity.Module as MagiskModule @@ -23,8 +24,8 @@ sealed class DownloadSubject : Parcelable { @Parcelize data class Magisk( - val magisk: MagiskJson, - val configuration: Configuration + val configuration: Configuration, + val magisk: MagiskJson = Info.remote.magisk ) : DownloadSubject() { override val url: String get() = magisk.link