Fixed string resource for clipboard toast
This commit is contained in:
parent
3f2dfee22d
commit
937ee090fc
2 changed files with 1 additions and 2 deletions
|
@ -2858,5 +2858,4 @@
|
|||
<string name="nautical_renderer">Nautical</string>
|
||||
<string name="copy_location_name">Copy Point/POI name</string>
|
||||
<string name="toast_empty_name_error">Location has no name</string>
|
||||
<string name="clipboard_message">Copied to clipboard</string>
|
||||
</resources>
|
||||
|
|
|
@ -216,7 +216,7 @@ public class ShareDialog {
|
|||
public static void sendToClipboard(Activity activity, String text) {
|
||||
ClipboardManager clipboard = (ClipboardManager) activity.getSystemService(Activity.CLIPBOARD_SERVICE);
|
||||
clipboard.setText(text);
|
||||
Toast.makeText(activity, R.string.clipboard_message, Toast.LENGTH_LONG)
|
||||
Toast.makeText(activity, R.string.copied_to_clipboard, Toast.LENGTH_LONG)
|
||||
.show();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue