Skip to content

Commit

Permalink
error message updated
Browse files Browse the repository at this point in the history
  • Loading branch information
RazvanMocanuTW committed Feb 21, 2024
1 parent 7eb5363 commit 33dbc02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ fun ReportFormScreen(
is TikTokReporterError.UnknownError -> {
dialogState.value = DialogState.ErrorDialog(
title = UiText.StringResource(R.string.error_title_general),
message = UiText.StringResource(R.string.error_message_general),
message = UiText.StringResource(R.string.error_message_policy),
drawable = R.drawable.error_cat
)
}
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
<string name="error_title_general">Oops! Something went wrong</string>
<string name="error_title_internet">Oops! No internet connection</string>
<string name="error_message_general">The system doesn\'t seem to respond. Our cat must have been chewing the wires again.\n\nPlease forgive Tom and try again later.</string>
<string name="error_message_policy">The system doesn\'t seem to respond. This might happen because you have not completed the onboarding.\n\nPlease reopen the app, check the policy, select a study and try again.</string>
<string name="error_title_no_studies_available">No studies available</string>
<string name="error_message_no_studies_available">We are sorry to announce that there are no studies available for your location.\n\nCome back at a later date to check if any new study has been opened.</string>
<string name="error_message_no_recording_available">Create a recording in order to submit the report.</string>
Expand Down

0 comments on commit 33dbc02

Please sign in to comment.