Merge pull request #7020 from bxdxnn/misc/svg-support

Add full SVG support
This commit is contained in:
Benoit Marty
2026-07-08 10:57:12 +02:00
committed by GitHub
11 changed files with 181 additions and 10 deletions
@@ -22,3 +22,6 @@ sealed class ClientException(message: String, val details: String?, cause: Throw
fun ClientException.isNetworkError(): Boolean {
return this is ClientException.Generic && message?.contains("error sending request for url", ignoreCase = true) == true
}
fun Throwable.isNetworkError(): Boolean =
(this as? ClientException)?.isNetworkError() == true