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
@@ -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(
+2
View File
@@ -6435,6 +6435,8 @@
<!-- CallLinkDetailsFragment -->
<!-- Displayed in action bar at the top of the fragment -->
<string name="CallLinkDetailsFragment__call_details">Call details</string>
<!-- Displayed in a text row, allowing the user to click and edit a call name -->
<string name="CallLinkDetailsFragment__edit_call_name">Edit call name</string>
<!-- Displayed in a text row, allowing the user to click and add a call name -->
<string name="CallLinkDetailsFragment__add_call_name">Add call name</string>
<!-- Displayed in a toggle row, allowing the user to click to enable or disable member approval -->