Skip to content

Commit

Permalink
fix: Indent option description correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Oct 14, 2023
1 parent 70f93bf commit d4a9ea1
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import app.revanced.patcher.patch.options.types.StringPatchOption.Companion.stri
import app.revanced.util.resources.ResourceUtils
import app.revanced.util.resources.ResourceUtils.copyResources
import java.io.File
import java.nio.file.Files

@Patch(
name = "Custom branding",
Expand Down Expand Up @@ -47,15 +46,18 @@ object CustomBrandingPatch : ResourcePatch() {
key = "iconPath",
default = null,
title = "App icon path",
description = """
description = """
The path to a folder containing the following folders:
${mipmapDirectories.joinToString("\n") { "- $it" }}
Each of these folders has to have the following files:
${iconResourceFileNames.joinToString("\n") { "- $it" }}
""".trimIndent()
"""
.split("\n")
.joinToString("\n") { it.trimIndent() } // Remove the leading whitespace from each line.
.trimIndent(), // Remove the leading newline.
)

override fun execute(context: ResourceContext) {
Expand Down

0 comments on commit d4a9ea1

Please sign in to comment.