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 c7b3a2484..6f9380b60 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 @@ -97,7 +97,7 @@ sealed class DownloadSubject : Parcelable { operator fun invoke(configuration: Configuration) = when (configuration) { Configuration.Download -> Download() Configuration.Uninstall -> Uninstall() - Configuration.EnvFix, is Configuration.Flash -> DownloadInternal(configuration) + Configuration.EnvFix, is Configuration.Flash, is Configuration.Patch -> DownloadInternal(configuration) else -> throw IllegalArgumentException() } }