Verification: migrate to Epoxy - Request Fragment

This commit is contained in:
Benoit Marty 2020-01-15 10:22:40 +01:00 committed by Valere
parent 32689facc5
commit 832df59b58
2 changed files with 4 additions and 6 deletions

View file

@ -78,6 +78,7 @@ class VerificationRequestController @Inject constructor(
bottomSheetVerificationActionItem {
id("start")
title(stringProvider.getString(R.string.start_verification))
titleColor(colorProvider.getColor(R.color.riotx_accent))
subTitle(stringProvider.getString(R.string.verification_request_start_notice))
iconRes(R.drawable.ic_arrow_right)
iconColor(colorProvider.getColorFromAttribute(R.attr.riotx_text_primary))

View file

@ -26,13 +26,10 @@
<ProgressBar
android:id="@+id/itemVerificationWaitingProgress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
android:layout_width="24dp"
android:layout_height="24dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:visibility="visible" />
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>