From 937ee090fc06a66cec5a7d6893595de979ff6bcf Mon Sep 17 00:00:00 2001 From: PaulStets Date: Sat, 27 Jan 2018 13:48:53 +0200 Subject: [PATCH] Fixed string resource for clipboard toast --- OsmAnd/res/values/strings.xml | 1 - OsmAnd/src/net/osmand/plus/activities/actions/ShareDialog.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index 2e9583eac0..e689e51476 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -2858,5 +2858,4 @@ Nautical Copy Point/POI name Location has no name - Copied to clipboard diff --git a/OsmAnd/src/net/osmand/plus/activities/actions/ShareDialog.java b/OsmAnd/src/net/osmand/plus/activities/actions/ShareDialog.java index 67d54ebe15..45371aef6e 100644 --- a/OsmAnd/src/net/osmand/plus/activities/actions/ShareDialog.java +++ b/OsmAnd/src/net/osmand/plus/activities/actions/ShareDialog.java @@ -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(); } }