diff --git a/ui/BankingUiCommon/src/jvmMain/kotlin/net/dankito/banking/util/BankIconFinder.kt b/ui/BankingUiCommon/src/jvmMain/kotlin/net/dankito/banking/util/BankIconFinder.kt index 4a92fcb3..0ae56e76 100644 --- a/ui/BankingUiCommon/src/jvmMain/kotlin/net/dankito/banking/util/BankIconFinder.kt +++ b/ui/BankingUiCommon/src/jvmMain/kotlin/net/dankito/banking/util/BankIconFinder.kt @@ -171,9 +171,10 @@ open class BankIconFinder : IBankIconFinder { if (urlEncoded.startsWith("http")) { return urlEncoded - } - else { - return "https://" + urlEncoded + } else if (urlEncoded.startsWith("//")) { + return "https:$urlEncoded" + } else { + return "https://$urlEncoded" } }