mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Code cleanup, accessibility checks
This commit is contained in:
+1
-2
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user