Code cleanup, accessibility checks

This commit is contained in:
Jenna Vassar
2026-05-05 17:27:36 -07:00
parent aed149731b
commit 880a189617
7 changed files with 38 additions and 7 deletions
@@ -35,7 +35,6 @@ fun DropdownMenuItem(
leadingIcon: @Composable (() -> Unit)? = null,
trailingIcon: @Composable (() -> Unit)? = null,
enabled: Boolean = true,
contentPadding: PaddingValues = DropDownMenuItemDefaults.contentPadding,
interactionSource: MutableInteractionSource = remember { MutableInteractionSource() },
) {
androidx.compose.material3.DropdownMenuItem(
@@ -50,7 +49,7 @@ fun DropdownMenuItem(
trailingIcon = trailingIcon,
enabled = enabled,
colors = DropDownMenuItemDefaults.colors(),
contentPadding = contentPadding,
contentPadding = DropDownMenuItemDefaults.contentPadding,
interactionSource = interactionSource
)
}
@@ -98,6 +98,12 @@ object TestTags {
*/
val floatingActionButton = TestTag("floating-action-button")
/**
* Timeline jump-to-position buttons (long-press exposes "Mark as read").
*/
val jumpToUnreadButton = TestTag("jump-to-unread-button")
val jumpToBottomButton = TestTag("jump-to-bottom-button")
/**
* Timeline.
*/