mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 04:08:44 +03:00
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
3 changed files with 5 additions and 0 deletions
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…
Add table
Reference in a new issue