Removed findBankWebsite() from IBankIconFinder
This commit is contained in:
parent
d76e4022ec
commit
4512b024f8
|
@ -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?
|
|
||||||
|
|
||||||
}
|
}
|
|
@ -7,8 +7,4 @@ open class NoOpBankIconFinder : IBankIconFinder {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun findBankWebsite(bankName: String): String? {
|
|
||||||
return null
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
|
@ -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, "")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue