Normalize thicknesses of the divisors
This commit is contained in:
+5
-12
@@ -79,6 +79,7 @@ import com.vitorpamplona.amethyst.ui.screen.loggedIn.lists.FollowSetFeedViewMode
|
|||||||
import com.vitorpamplona.amethyst.ui.screen.loggedIn.qrcode.BackButton
|
import com.vitorpamplona.amethyst.ui.screen.loggedIn.qrcode.BackButton
|
||||||
import com.vitorpamplona.amethyst.ui.stringRes
|
import com.vitorpamplona.amethyst.ui.stringRes
|
||||||
import com.vitorpamplona.amethyst.ui.theme.ButtonBorder
|
import com.vitorpamplona.amethyst.ui.theme.ButtonBorder
|
||||||
|
import com.vitorpamplona.amethyst.ui.theme.DividerThickness
|
||||||
import com.vitorpamplona.amethyst.ui.theme.FeedPadding
|
import com.vitorpamplona.amethyst.ui.theme.FeedPadding
|
||||||
import com.vitorpamplona.amethyst.ui.theme.HalfPadding
|
import com.vitorpamplona.amethyst.ui.theme.HalfPadding
|
||||||
import com.vitorpamplona.amethyst.ui.theme.StdHorzSpacer
|
import com.vitorpamplona.amethyst.ui.theme.StdHorzSpacer
|
||||||
@@ -283,12 +284,8 @@ private fun FollowSetListView(
|
|||||||
fontSize = 18.sp,
|
fontSize = 18.sp,
|
||||||
fontWeight = FontWeight.Bold,
|
fontWeight = FontWeight.Bold,
|
||||||
)
|
)
|
||||||
HorizontalDivider(
|
|
||||||
modifier = Modifier.fillMaxWidth(),
|
|
||||||
thickness = 2.dp,
|
|
||||||
color = MaterialTheme.colorScheme.onBackground,
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
HorizontalDivider(thickness = DividerThickness)
|
||||||
}
|
}
|
||||||
itemsIndexed(publicMemberList, key = { _, item -> item.pubkeyHex }) { _, item ->
|
itemsIndexed(publicMemberList, key = { _, item -> item.pubkeyHex }) { _, item ->
|
||||||
FollowSetListItem(
|
FollowSetListItem(
|
||||||
@@ -310,11 +307,7 @@ private fun FollowSetListView(
|
|||||||
fontSize = 18.sp,
|
fontSize = 18.sp,
|
||||||
fontWeight = FontWeight.Bold,
|
fontWeight = FontWeight.Bold,
|
||||||
)
|
)
|
||||||
HorizontalDivider(
|
HorizontalDivider(thickness = DividerThickness)
|
||||||
modifier = Modifier.fillMaxWidth(),
|
|
||||||
thickness = 2.dp,
|
|
||||||
color = MaterialTheme.colorScheme.onBackground,
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
itemsIndexed(privateMemberList, key = { _, item -> item.pubkeyHex }) { _, item ->
|
itemsIndexed(privateMemberList, key = { _, item -> item.pubkeyHex }) { _, item ->
|
||||||
FollowSetListItem(
|
FollowSetListItem(
|
||||||
@@ -369,7 +362,7 @@ fun FollowSetListItem(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
HorizontalDivider()
|
HorizontalDivider(thickness = DividerThickness)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -426,7 +419,7 @@ fun ListActionsMenu(
|
|||||||
onCloseMenu()
|
onCloseMenu()
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
HorizontalDivider()
|
HorizontalDivider(thickness = DividerThickness)
|
||||||
DropdownMenuItem(
|
DropdownMenuItem(
|
||||||
text = {
|
text = {
|
||||||
Text("Delete List")
|
Text("Delete List")
|
||||||
|
|||||||
+3
-2
@@ -90,6 +90,7 @@ import com.vitorpamplona.amethyst.ui.screen.loggedIn.lists.FollowSetFeedViewMode
|
|||||||
import com.vitorpamplona.amethyst.ui.screen.loggedIn.lists.NewSetCreationDialog
|
import com.vitorpamplona.amethyst.ui.screen.loggedIn.lists.NewSetCreationDialog
|
||||||
import com.vitorpamplona.amethyst.ui.stringRes
|
import com.vitorpamplona.amethyst.ui.stringRes
|
||||||
import com.vitorpamplona.amethyst.ui.theme.ButtonBorder
|
import com.vitorpamplona.amethyst.ui.theme.ButtonBorder
|
||||||
|
import com.vitorpamplona.amethyst.ui.theme.DividerThickness
|
||||||
import com.vitorpamplona.amethyst.ui.theme.StdHorzSpacer
|
import com.vitorpamplona.amethyst.ui.theme.StdHorzSpacer
|
||||||
import com.vitorpamplona.amethyst.ui.theme.StdVertSpacer
|
import com.vitorpamplona.amethyst.ui.theme.StdVertSpacer
|
||||||
|
|
||||||
@@ -539,7 +540,7 @@ fun FollowSetCreationItem(
|
|||||||
val context = LocalContext.current
|
val context = LocalContext.current
|
||||||
val setTypeLabel = stringRes(context, if (setIsPrivate) R.string.follow_set_type_private else R.string.follow_set_type_public)
|
val setTypeLabel = stringRes(context, if (setIsPrivate) R.string.follow_set_type_private else R.string.follow_set_type_public)
|
||||||
|
|
||||||
HorizontalDivider()
|
HorizontalDivider(thickness = DividerThickness)
|
||||||
Column(
|
Column(
|
||||||
modifier =
|
modifier =
|
||||||
modifier
|
modifier
|
||||||
@@ -586,5 +587,5 @@ fun FollowSetCreationItem(
|
|||||||
color = Color.Gray,
|
color = Color.Gray,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
HorizontalDivider()
|
HorizontalDivider(thickness = DividerThickness)
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -169,7 +169,7 @@ fun SecurityFiltersScreen(
|
|||||||
|
|
||||||
HeaderOptions(accountViewModel)
|
HeaderOptions(accountViewModel)
|
||||||
|
|
||||||
HorizontalDivider()
|
HorizontalDivider(thickness = DividerThickness)
|
||||||
|
|
||||||
ScrollableTabRow(
|
ScrollableTabRow(
|
||||||
containerColor = MaterialTheme.colorScheme.background,
|
containerColor = MaterialTheme.colorScheme.background,
|
||||||
|
|||||||
Reference in New Issue
Block a user