Removed findBankWebsite() from IBankIconFinder

This commit is contained in:
dankito 2020-07-28 20:08:51 +02:00
parent d76e4022ec
commit 4512b024f8
3 changed files with 1 additions and 7 deletions

View File

@ -5,6 +5,4 @@ interface IBankIconFinder {
fun findIconForBank(bankName: String, prefSize: Int = 72): String? fun findIconForBank(bankName: String, prefSize: Int = 72): String?
fun findBankWebsite(bankName: String): String?
} }

View File

@ -7,8 +7,4 @@ open class NoOpBankIconFinder : IBankIconFinder {
return null return null
} }
override fun findBankWebsite(bankName: String): String? {
return null
}
} }

View File

@ -53,7 +53,7 @@ open class BankIconFinder : IBankIconFinder {
} }
override fun findBankWebsite(bankName: String): String? { open fun findBankWebsite(bankName: String): String? {
try { try {
val adjustedBankName = bankName.replace("-alt-", "").replace(ReplaceGfRegex, "") val adjustedBankName = bankName.replace("-alt-", "").replace(ReplaceGfRegex, "")