Verification: migrate to Epoxy - Add missing icons
This commit is contained in:
parent
878bae1c45
commit
fc22b7988f
@ -124,7 +124,7 @@ class VerificationEmojiCodeController @Inject constructor(
|
||||
id("ko")
|
||||
title(stringProvider.getString(R.string.verification_sas_do_not_match))
|
||||
titleColor(colorProvider.getColor(R.color.vector_error_color))
|
||||
iconRes(R.drawable.ic_arrow_right)
|
||||
iconRes(R.drawable.ic_check_off)
|
||||
iconColor(colorProvider.getColor(R.color.vector_error_color))
|
||||
listener { listener?.onDoNotMatchButtonTapped() }
|
||||
}
|
||||
@ -135,7 +135,7 @@ class VerificationEmojiCodeController @Inject constructor(
|
||||
id("ok")
|
||||
title(stringProvider.getString(R.string.verification_sas_match))
|
||||
titleColor(colorProvider.getColor(R.color.riotx_accent))
|
||||
iconRes(R.drawable.ic_arrow_right)
|
||||
iconRes(R.drawable.ic_check_on)
|
||||
iconColor(colorProvider.getColor(R.color.riotx_accent))
|
||||
listener { listener?.onMatchButtonTapped() }
|
||||
}
|
||||
|
||||
20
vector/src/main/res/drawable/ic_check_off.xml
Normal file
20
vector/src/main/res/drawable/ic_check_off.xml
Normal file
@ -0,0 +1,20 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M18,6L6,18"
|
||||
android:strokeWidth="2"
|
||||
android:strokeColor="#ff4b55"
|
||||
android:strokeLineCap="round"
|
||||
android:strokeLineJoin="round" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M6,6L18,18"
|
||||
android:strokeWidth="2"
|
||||
android:strokeColor="#ff4b55"
|
||||
android:strokeLineCap="round"
|
||||
android:strokeLineJoin="round" />
|
||||
</vector>
|
||||
13
vector/src/main/res/drawable/ic_check_on.xml
Normal file
13
vector/src/main/res/drawable/ic_check_on.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M20,7L9,18L4,13"
|
||||
android:strokeWidth="2"
|
||||
android:strokeColor="#03B381"
|
||||
android:strokeLineCap="round"
|
||||
android:strokeLineJoin="round" />
|
||||
</vector>
|
||||
Loading…
Reference in New Issue
Block a user