pull/171/head
FongMi 2 years ago
parent c11a550859
commit eb7a760276
  1. 4
      app/src/mobile/java/com/fongmi/android/tv/ui/adapter/TypeAdapter.java
  2. 2
      catvod/src/main/java/com/github/catvod/utils/Trans.java

@ -55,10 +55,6 @@ public class TypeAdapter extends RecyclerView.Adapter<TypeAdapter.ViewHolder> {
notifyItemRangeChanged(0, mItems.size()); notifyItemRangeChanged(0, mItems.size());
} }
public List<Class> getTypes() {
return mItems;
}
public Class get(int position) { public Class get(int position) {
return mItems.get(position); return mItems.get(position);
} }

@ -51,10 +51,12 @@ public class Trans {
} }
public static String s2t(String text) { public static String s2t(String text) {
if (TextUtils.isEmpty(text)) return "";
return s2t(pass(), text); return s2t(pass(), text);
} }
public static String t2s(String text) { public static String t2s(String text) {
if (TextUtils.isEmpty(text)) return "";
return t2s(pass(), text); return t2s(pass(), text);
} }

Loading…
Cancel
Save