fix: Indent patch option description correctly

This commit is contained in:
oSumAtrIX
2024-01-27 03:29:04 +01:00
parent 44e36fead6
commit ec3371ffb5
3 changed files with 12 additions and 5 deletions
@@ -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.
}