Fix quick actions

This commit is contained in:
Victor Shcherb 2020-03-27 23:34:06 +01:00
parent 603730acd3
commit 6367c516fb

View file

@ -180,7 +180,7 @@ public class QuickActionRegistry {
private List<QuickAction> parseActiveActionsList(String json) { private List<QuickAction> parseActiveActionsList(String json) {
List<QuickAction> resQuickActions; List<QuickAction> resQuickActions;
if (Algorithms.isEmpty(json)) { if (!Algorithms.isEmpty(json)) {
Type type = new TypeToken<List<QuickAction>>() { Type type = new TypeToken<List<QuickAction>>() {
}.getType(); }.getType();
List<QuickAction> quickActions = gson.fromJson(json, type); List<QuickAction> quickActions = gson.fromJson(json, type);