mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-27 05:03:28 +00:00
Add bank icons and ideal logo.
This commit is contained in:
committed by
Cody Henthorne
parent
c744743913
commit
e63137d293
@@ -16,6 +16,7 @@ import org.thoughtcrime.securesms.components.settings.DSLSettingsAdapter
|
||||
import org.thoughtcrime.securesms.components.settings.DSLSettingsBottomSheetFragment
|
||||
import org.thoughtcrime.securesms.components.settings.DSLSettingsIcon
|
||||
import org.thoughtcrime.securesms.components.settings.DSLSettingsText
|
||||
import org.thoughtcrime.securesms.components.settings.NO_TINT
|
||||
import org.thoughtcrime.securesms.components.settings.app.subscription.DonationPaymentComponent
|
||||
import org.thoughtcrime.securesms.components.settings.app.subscription.donate.DonateToSignalType
|
||||
import org.thoughtcrime.securesms.components.settings.app.subscription.models.GooglePayButton
|
||||
@@ -167,10 +168,9 @@ class GatewaySelectorBottomSheet : DSLSettingsBottomSheetFragment() {
|
||||
space(8.dp)
|
||||
}
|
||||
|
||||
// TODO [sepa] -- Final assets and copy
|
||||
tonalButton(
|
||||
text = DSLSettingsText.from(R.string.GatewaySelectorBottomSheet__ideal),
|
||||
icon = DSLSettingsIcon.from(R.drawable.bank_transfer),
|
||||
icon = DSLSettingsIcon.from(R.drawable.logo_ideal, NO_TINT),
|
||||
onClick = {
|
||||
findNavController().popBackStack()
|
||||
val response = GatewayResponse(GatewayResponse.Gateway.IDEAL, args.request)
|
||||
|
||||
@@ -41,55 +41,55 @@ enum class IdealBank(
|
||||
arrayOf(
|
||||
ABN_AMRO to UIValues(
|
||||
name = R.string.IdealBank__abn_amro,
|
||||
icon = R.drawable.ic_person_large // TODO [sepa] -- final icon
|
||||
icon = R.drawable.ideal_abn_amro
|
||||
),
|
||||
ASN_BANK to UIValues(
|
||||
name = R.string.IdealBank__asn_bank,
|
||||
icon = R.drawable.ic_person_large // TODO [sepa] -- final icon
|
||||
icon = R.drawable.ideal_asn
|
||||
),
|
||||
BUNQ to UIValues(
|
||||
name = R.string.IdealBank__bunq,
|
||||
icon = R.drawable.ic_person_large // TODO [sepa] -- final icon
|
||||
icon = R.drawable.ideal_bunq
|
||||
),
|
||||
ING to UIValues(
|
||||
name = R.string.IdealBank__ing,
|
||||
icon = R.drawable.ic_person_large // TODO [sepa] -- final icon
|
||||
icon = R.drawable.ideal_ing
|
||||
),
|
||||
KNAB to UIValues(
|
||||
name = R.string.IdealBank__knab,
|
||||
icon = R.drawable.ic_person_large // TODO [sepa] -- final icon
|
||||
icon = R.drawable.ideal_knab
|
||||
),
|
||||
N26 to UIValues(
|
||||
name = R.string.IdealBank__n26,
|
||||
icon = R.drawable.ic_person_large // TODO [sepa] -- final icon
|
||||
icon = R.drawable.ideal_n26
|
||||
),
|
||||
RABOBANK to UIValues(
|
||||
name = R.string.IdealBank__rabobank,
|
||||
icon = R.drawable.ic_person_large // TODO [sepa] -- final icon
|
||||
icon = R.drawable.ideal_rabobank
|
||||
),
|
||||
REGIOBANK to UIValues(
|
||||
name = R.string.IdealBank__regiobank,
|
||||
icon = R.drawable.ic_person_large // TODO [sepa] -- final icon
|
||||
icon = R.drawable.ideal_regiobank
|
||||
),
|
||||
REVOLUT to UIValues(
|
||||
name = R.string.IdealBank__revolut,
|
||||
icon = R.drawable.ic_person_large // TODO [sepa] -- final icon
|
||||
icon = R.drawable.ideal_revolut
|
||||
),
|
||||
SNS_BANK to UIValues(
|
||||
name = R.string.IdealBank__sns_bank,
|
||||
icon = R.drawable.ic_person_large // TODO [sepa] -- final icon
|
||||
icon = R.drawable.ideal_sns
|
||||
),
|
||||
TRIODOS_BANK to UIValues(
|
||||
name = R.string.IdealBank__triodos_bank,
|
||||
icon = R.drawable.ic_person_large // TODO [sepa] -- final icon
|
||||
icon = R.drawable.ideal_triodos_bank
|
||||
),
|
||||
VAN_LANCHOT to UIValues(
|
||||
name = R.string.IdealBank__van_lanchot,
|
||||
icon = R.drawable.ic_person_large // TODO [sepa] -- final icon
|
||||
icon = R.drawable.ideal_van_lanschot
|
||||
),
|
||||
YOURSAFE to UIValues(
|
||||
name = R.string.IdealBank__yoursafe,
|
||||
icon = R.drawable.ic_person_large // TODO [sepa] -- final icon
|
||||
icon = R.drawable.ideal_yoursafe
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user