Update History.java

pull/137/head
FongMi 3 years ago
parent 26fd434792
commit 2c1ad8309c
  1. 3
      app/src/main/java/com/fongmi/android/tv/bean/History.java

@ -65,8 +65,7 @@ public class History {
}
public static List<History> arrayFrom(String str) {
Type listType = new TypeToken<List<History>>() {
}.getType();
Type listType = new TypeToken<List<History>>() {}.getType();
List<History> items = new Gson().fromJson(str, listType);
return items == null ? Collections.emptyList() : items;
}

Loading…
Cancel
Save