From 6367c516fb3a0ee094a3a025b36fa3f5078c211f Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Fri, 27 Mar 2020 23:34:06 +0100 Subject: [PATCH] Fix quick actions --- OsmAnd/src/net/osmand/plus/quickaction/QuickActionRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/quickaction/QuickActionRegistry.java b/OsmAnd/src/net/osmand/plus/quickaction/QuickActionRegistry.java index 5c0816fbda..77726f95ed 100644 --- a/OsmAnd/src/net/osmand/plus/quickaction/QuickActionRegistry.java +++ b/OsmAnd/src/net/osmand/plus/quickaction/QuickActionRegistry.java @@ -180,7 +180,7 @@ public class QuickActionRegistry { private List parseActiveActionsList(String json) { List resQuickActions; - if (Algorithms.isEmpty(json)) { + if (!Algorithms.isEmpty(json)) { Type type = new TypeToken>() { }.getType(); List quickActions = gson.fromJson(json, type);