fix: Indent patch option description correctly
This commit is contained in:
parent
fcf5fe632c
commit
bd86ef6fc2
3 changed files with 12 additions and 5 deletions
8
src/main/kotlin/app/revanced/util/Utils.kt
Normal file
8
src/main/kotlin/app/revanced/util/Utils.kt
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
package app.revanced.util
|
||||
|
||||
internal object Utils {
|
||||
internal fun String.trimIndentMultiline() =
|
||||
this.split("\n")
|
||||
.joinToString("\n") { it.trimIndent() } // Remove the leading whitespace from each line.
|
||||
.trimIndent() // Remove the leading newline.
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue