fix: Indent patch option description correctly

This commit is contained in:
oSumAtrIX 2024-01-27 03:26:01 +01:00
parent fcf5fe632c
commit bd86ef6fc2
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4
3 changed files with 12 additions and 5 deletions

View 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.
}