Skip to content

Commit

Permalink
fix(change-package-name): use null as default value for option `pac…
Browse files Browse the repository at this point in the history
…kageName` (ReVanced#1998)
  • Loading branch information
oSumAtrIX committed May 1, 2023
1 parent 77de880 commit 8128e6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/app/revanced/meta/PatchesFileGenerator.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
)
Expand Down

0 comments on commit 8128e6b

Please sign in to comment.