Skip to content

Commit

Permalink
fix typo in string-key
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyScherzinger committed Jun 20, 2018
1 parent 9d1c183 commit 3c76ad9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void onCreate(Bundle savedInstanceState) {
}

} catch (Exception e) {
DisplayUtils.showSnackMessage(this, R.string.clipboard_uxexpected_error);
DisplayUtils.showSnackMessage(this, R.string.clipboard_unexpected_error);
Log_OC.e(TAG, "Exception caught while copying to clipboard", e);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static void copyToClipboard(Activity activity, String text) {

Toast.makeText(activity, R.string.clipboard_text_copied, Toast.LENGTH_SHORT).show();
} catch (Exception e) {
Toast.makeText(activity, R.string.clipboard_uxexpected_error, Toast.LENGTH_SHORT).show();
Toast.makeText(activity, R.string.clipboard_unexpected_error, Toast.LENGTH_SHORT).show();
Log_OC.e(TAG, "Exception caught while copying to clipboard", e);
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@
<string name="copy_link">Copy link</string>
<string name="clipboard_text_copied">Copied to clipboard</string>
<string name="clipboard_no_text_to_copy">Received no text to copy to clipboard</string>
<string name="clipboard_uxexpected_error">Unexpected error while copying to clipboard</string>
<string name="clipboard_unexpected_error">Unexpected error while copying to clipboard</string>
<string name="clipboard_label">Text copied from %1$s</string>

<string name="error_cant_bind_to_operations_service">Critical error: Unable to perform operations</string>
Expand Down

0 comments on commit 3c76ad9

Please sign in to comment.