Remove hardcoded strings
This commit is contained in:
parent
f5683f9c8b
commit
11866afb03
3 changed files with 3 additions and 2 deletions
|
|
@ -91,7 +91,7 @@ fun LocationShareRow(
|
|||
)
|
||||
}
|
||||
Text(
|
||||
text = if (item.isLive) "Sharing live location" else item.formattedTimestamp,
|
||||
text = if (item.isLive) stringResource(CommonStrings.screen_room_live_location_banner) else item.formattedTimestamp,
|
||||
style = ElementTheme.typography.fontBodySmRegular,
|
||||
color = if(item.isLive) ElementTheme.colors.textPrimary else ElementTheme.colors.textSecondary,
|
||||
maxLines = 1,
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ fun ShowLocationView(
|
|||
}
|
||||
if (state.locationShares.isEmpty()) {
|
||||
Text(
|
||||
text = "Nobody is sharing their location",
|
||||
text = stringResource(CommonStrings.screen_live_location_sheet_nobody_sharing),
|
||||
style = ElementTheme.typography.fontBodyLgMedium,
|
||||
color = ElementTheme.colors.textPrimary,
|
||||
modifier = Modifier
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue