Merge pull request #7796 from vector-im/feature/mna/security-recommendations-tappable
[Session manager] Security recommendations cards: whole view should be tappable (PSG-1117)
This commit is contained in:
commit
c7de0523e7
1
changelog.d/7795.feature
Normal file
1
changelog.d/7795.feature
Normal file
@ -0,0 +1 @@
|
||||
[Session manager] Security recommendations cards: whole view should be tappable
|
@ -53,6 +53,9 @@ class SecurityRecommendationView @JvmOverloads constructor(
|
||||
setImage(it)
|
||||
}
|
||||
|
||||
setOnClickListener {
|
||||
callback?.onViewAllClicked()
|
||||
}
|
||||
views.recommendationViewAllButton.setOnClickListener {
|
||||
callback?.onViewAllClicked()
|
||||
}
|
||||
|
@ -5,6 +5,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_current_session"
|
||||
android:foreground="?attr/selectableItemBackground"
|
||||
android:paddingHorizontal="16dp"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingBottom="8dp">
|
||||
|
Loading…
x
Reference in New Issue
Block a user