mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
review: fix bad usage of modifier
This commit is contained in:
-2
@@ -70,7 +70,6 @@ private fun StandByCallMenuItem(
|
|||||||
// Only show voice call in DMs
|
// Only show voice call in DMs
|
||||||
if (roomCallState.isDM) {
|
if (roomCallState.isDM) {
|
||||||
IconButton(
|
IconButton(
|
||||||
modifier = modifier,
|
|
||||||
onClick = { onJoinCallClick(true) },
|
onClick = { onJoinCallClick(true) },
|
||||||
enabled = roomCallState.canStartCall,
|
enabled = roomCallState.canStartCall,
|
||||||
) {
|
) {
|
||||||
@@ -81,7 +80,6 @@ private fun StandByCallMenuItem(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
IconButton(
|
IconButton(
|
||||||
modifier = modifier,
|
|
||||||
onClick = { onJoinCallClick(false) },
|
onClick = { onJoinCallClick(false) },
|
||||||
enabled = roomCallState.canStartCall,
|
enabled = roomCallState.canStartCall,
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user