Move "Share" to end of DropDownMenu (#8225)
Cette révision appartient à :
Parent
4f91d80765
révision
ea33f8dba5
1 fichiers modifiés avec 9 ajouts et 9 suppressions
|
@ -170,15 +170,6 @@ fun MangaToolbar(
|
|||
expanded = moreExpanded,
|
||||
onDismissRequest = onDismissRequest,
|
||||
) {
|
||||
if (onClickShare != null) {
|
||||
DropdownMenuItem(
|
||||
text = { Text(text = stringResource(R.string.action_share)) },
|
||||
onClick = {
|
||||
onClickShare()
|
||||
onDismissRequest()
|
||||
},
|
||||
)
|
||||
}
|
||||
DropdownMenuItem(
|
||||
text = { Text(text = stringResource(R.string.action_edit_categories)) },
|
||||
onClick = {
|
||||
|
@ -193,6 +184,15 @@ fun MangaToolbar(
|
|||
onDismissRequest()
|
||||
},
|
||||
)
|
||||
if (onClickShare != null) {
|
||||
DropdownMenuItem(
|
||||
text = { Text(text = stringResource(R.string.action_share)) },
|
||||
onClick = {
|
||||
onClickShare()
|
||||
onDismissRequest()
|
||||
},
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Référencer dans un nouveau ticket