From e1ea59b4928be85983d515410ed8eb55b0810804 Mon Sep 17 00:00:00 2001 From: androiddevkotlin <64539346+androiddevkotlin@users.noreply.github.com> Date: Mon, 12 Apr 2021 13:01:25 +0300 Subject: [PATCH] Revert quick switch profile --- .../osmand/plus/quickaction/actions/SwitchProfileAction.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/quickaction/actions/SwitchProfileAction.java b/OsmAnd/src/net/osmand/plus/quickaction/actions/SwitchProfileAction.java index 24bff5e458..456028881d 100644 --- a/OsmAnd/src/net/osmand/plus/quickaction/actions/SwitchProfileAction.java +++ b/OsmAnd/src/net/osmand/plus/quickaction/actions/SwitchProfileAction.java @@ -235,8 +235,6 @@ public class SwitchProfileAction extends SwitchableAction { @Override public String getActionText(OsmandApplication application) { - String item = getSelectedItem(application); - - return application.getString(R.string.ltr_or_rtl_combine_via_space, getTranslatedItemName(application, item), "\u2026"); + return getName(application); } }