fix(change-package-name): use null as default value for option packageName (#1998)

This commit is contained in:
oSumAtrIX 2023-05-01 05:27:14 +02:00 committed by GitHub
parent 77de880dfb
commit 8128e6ba57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import app.revanced.patcher.patch.Patch
import app.revanced.patcher.util.patch.PatchBundle
import java.io.File
typealias PatchBundlePatches = List<Class<out Patch<Context>>>
internal typealias PatchBundlePatches = List<Class<out Patch<Context>>>
internal interface PatchesFileGenerator {
fun generate(bundle: PatchBundlePatches)

View File

@ -41,7 +41,7 @@ class ChangePackageNamePatch : ResourcePatch {
var packageName: String? by option(
PatchOption.StringOption(
key = "packageName",
default = "",
default = null,
title = "Package name",
description = "The name of the package to rename of the app.",
)