A little better. Some refactoring done.

This commit is contained in:
LucasGGamerM 2022-12-16 11:09:42 -03:00
parent ba376908cd
commit 063e9287fd
3 changed files with 16 additions and 1 deletions

View File

@ -203,7 +203,7 @@ public class MoshidonLoginFragment extends InstanceCatalogFragment {
private final RadioButton radioButton;
public InstanceViewHolder(){
super(getActivity(), R.layout.item_megalodon_instance, list);
super(getActivity(), R.layout.item_moshidon_instance, list);
// itemView.setPadding(V.dp(16), V.dp(16), V.dp(16), V.dp(16));
// TypedValue value = new TypedValue();

View File

@ -176,4 +176,19 @@ public class Instance extends BaseModel{
public int minExpiration;
public int maxExpiration;
}
@Parcel
public static class V2 extends BaseModel {
public V2.Configuration configuration;
@Parcel
public static class Configuration {
public TranslationConfiguration translation;
}
@Parcel
public static class TranslationConfiguration{
public boolean enabled;
}
}
}