From 6feee8bad709e61cf908b43ceaf8c67b867e8333 Mon Sep 17 00:00:00 2001 From: Nick Bradbury Date: Thu, 26 Sep 2024 14:47:16 -0400 Subject: [PATCH] Added dividers --- .../wordpress/android/ui/selfhostedusers/UserListScreen.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/WordPress/src/main/java/org/wordpress/android/ui/selfhostedusers/UserListScreen.kt b/WordPress/src/main/java/org/wordpress/android/ui/selfhostedusers/UserListScreen.kt index b5dd8c10728f..e4fc17607747 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/selfhostedusers/UserListScreen.kt +++ b/WordPress/src/main/java/org/wordpress/android/ui/selfhostedusers/UserListScreen.kt @@ -18,6 +18,7 @@ import androidx.compose.foundation.verticalScroll import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.Close import androidx.compose.material3.ExperimentalMaterial3Api +import androidx.compose.material3.HorizontalDivider import androidx.compose.material3.Icon import androidx.compose.material3.IconButton import androidx.compose.material3.MaterialTheme @@ -74,6 +75,7 @@ fun UserListScreen( private fun UserList(users: List) { for (user in users) { UserRow(user) + HorizontalDivider(thickness = 1.dp, modifier = Modifier.padding(start = 80.dp)) } } @@ -81,7 +83,7 @@ private fun UserList(users: List) { fun UserRow(user: UserWithEditContext) { Row( modifier = Modifier - .padding(horizontal = 16.dp, vertical = 12.dp) + .padding(all = 16.dp) .fillMaxWidth() ) { Column(