Remove hardcoded string
This commit is contained in:
parent
e8c2790595
commit
e3b03165e4
2 changed files with 2 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ fun LocationConstraintsDialog(
|
|||
cancelText = stringResource(CommonStrings.action_cancel),
|
||||
)
|
||||
LocationConstraintsDialogState.LocationServiceDisabled -> ConfirmationDialog(
|
||||
content = "Please enable your GPS to access location-based features.",
|
||||
content = stringResource(CommonStrings.error_location_service_disabled_android),
|
||||
onSubmitClick = onOpenLocationSettings,
|
||||
onDismiss = onDismiss,
|
||||
submitText = stringResource(CommonStrings.action_continue),
|
||||
|
|
|
|||
|
|
@ -438,6 +438,7 @@ Are you sure you want to continue?"</string>
|
|||
<string name="error_failed_locating_user">"%1$s could not access your location. Please try again later."</string>
|
||||
<string name="error_failed_uploading_voice_message">"Failed to upload your voice message."</string>
|
||||
<string name="error_invalid_invite">"The room no longer exists or the invite is no longer valid."</string>
|
||||
<string name="error_location_service_disabled_android">"Please enable your GPS to access location-based features."</string>
|
||||
<string name="error_message_not_found">"Message not found"</string>
|
||||
<string name="error_missing_location_auth_android">"%1$s does not have permission to access your location. You can enable access in Settings."</string>
|
||||
<string name="error_missing_location_rationale_android">"%1$s does not have permission to access your location. Enable access below."</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue