Fix edit call link copy in bottom sheet.

This commit is contained in:
Cody Henthorne
2024-02-21 12:43:03 -05:00
committed by Greyson Parrelli
parent bbbe76697d
commit d555370076
2 changed files with 7 additions and 1 deletions

View File

@@ -290,7 +290,11 @@ private fun CallInfo(
}
Rows.TextRow(
text = stringResource(id = R.string.CallLinkDetailsFragment__add_call_name),
text = if (controlAndInfoState.callLink.state.name.isNotEmpty()) {
stringResource(id = R.string.CallLinkDetailsFragment__edit_call_name)
} else {
stringResource(id = R.string.CallLinkDetailsFragment__add_call_name)
},
onClick = onEditNameClicked
)
Rows.ToggleRow(