From 7e8dbe4711ccb5b1e2360e1d6b0ee934c9b5f68b Mon Sep 17 00:00:00 2001 From: Nick Bradbury Date: Wed, 2 Oct 2024 15:52:26 -0400 Subject: [PATCH] Make full list row clickable --- .../ui/selfhostedusers/SelfHostedUsersScreen.kt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/WordPress/src/main/java/org/wordpress/android/ui/selfhostedusers/SelfHostedUsersScreen.kt b/WordPress/src/main/java/org/wordpress/android/ui/selfhostedusers/SelfHostedUsersScreen.kt index de582dc50893..f1ce0ceb4f87 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/selfhostedusers/SelfHostedUsersScreen.kt +++ b/WordPress/src/main/java/org/wordpress/android/ui/selfhostedusers/SelfHostedUsersScreen.kt @@ -121,18 +121,23 @@ private fun UserLazyRow( ) { LazyRow( modifier = Modifier - .padding(all = userScreenPaddingDp) .fillMaxWidth() .clickable { onUserClick(user) } ) { item { - UserAvatar(user.avatarUrls?.values?.firstOrNull()) + Column(modifier = Modifier.padding(all = userScreenPaddingDp)) { + UserAvatar(user.avatarUrls?.values?.firstOrNull()) + } } item { Column( modifier = Modifier - .padding(start = userScreenPaddingDp) + .padding( + top = userScreenPaddingDp, + bottom = userScreenPaddingDp, + end = userScreenPaddingDp + ) ) { Text( text = user.name,