chore: use ext property instead of func
This commit is contained in:
3 files changed
+3
-5
No files matched your search
@@ -47,6 +47,4 @@ fun Int.formatToMinutes(): String {
|
||||
return "$minutes:${if (remainingSeconds < 10) "0" else ""}$remainingSeconds"
|
||||
}
|
||||
|
||||
fun String.proxy(): String {
|
||||
return this.replace("https://", "https://proxy.rtast.cn/https/")
|
||||
}
|
||||
val String.proxy: String get() = this.replace("https://", "https://proxy.rtast.cn/https/")
|
||||
Reference in New Issue
Block a user