mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Add mark as read buttons
This commit is contained in:
+2
-1
@@ -35,6 +35,7 @@ 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(
|
||||
@@ -49,7 +50,7 @@ fun DropdownMenuItem(
|
||||
trailingIcon = trailingIcon,
|
||||
enabled = enabled,
|
||||
colors = DropDownMenuItemDefaults.colors(),
|
||||
contentPadding = DropDownMenuItemDefaults.contentPadding,
|
||||
contentPadding = contentPadding,
|
||||
interactionSource = interactionSource
|
||||
)
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
<resources>
|
||||
<string name="common_black">"Black"</string>
|
||||
<string name="action_mark_as_read">"Mark as read"</string>
|
||||
<string name="a11y_jump_to_unread_messages">"Jump to unread messages"</string>
|
||||
<plurals name="a11y_jump_to_unread_messages_count">
|
||||
<item quantity="one">"Jump to %1$d unread message"</item>
|
||||
|
||||
Reference in New Issue
Block a user