mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-10 06:42:05 +01:00
Automatic Lint
This commit is contained in:
@@ -18,9 +18,8 @@ fun String.chop(count: Int, replacement: String = "…"): String {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
fun String.addSuffix(char: Char): String {
|
||||
return if (endsWith(char)) {
|
||||
this
|
||||
} else this + char
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user