From 48dba187211c9fbe9c7373c888e15bd522b9f7a3 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sun, 3 Jul 2016 23:10:27 +0200 Subject: [PATCH] fix doubled path in confirm message --- .../main/java/info/nightscout/utils/ImportExportPrefs.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/info/nightscout/utils/ImportExportPrefs.java b/app/src/main/java/info/nightscout/utils/ImportExportPrefs.java index 00c49ede9e..9c3374f12e 100644 --- a/app/src/main/java/info/nightscout/utils/ImportExportPrefs.java +++ b/app/src/main/java/info/nightscout/utils/ImportExportPrefs.java @@ -33,7 +33,7 @@ public class ImportExportPrefs { public static void exportSharedPreferences(final Context c) { new AlertDialog.Builder(c) - .setMessage(MainApp.resources.getString(R.string.export_to) + " " + path + "/" + file + "?") + .setMessage(MainApp.resources.getString(R.string.export_to) + " " + file + "?") .setPositiveButton(android.R.string.yes, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int which) { @@ -59,7 +59,7 @@ public class ImportExportPrefs { public static void importSharedPreferences(final Context c) { new AlertDialog.Builder(c) - .setMessage(MainApp.resources.getString(R.string.import_from) + " " + path + "/" + file + "?") + .setMessage(MainApp.resources.getString(R.string.import_from) + " " + file + "?") .setPositiveButton(android.R.string.yes, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int which) {