fix cut-off settings item titles

closes sk22#723
This commit is contained in:
sk 2023-08-28 23:42:34 +02:00
parent 4d90cad034
commit 1ee5e1ab3a
1 changed files with 0 additions and 2 deletions

View File

@ -40,11 +40,9 @@ public abstract class ListItemViewHolder<T extends ListItem<?>> extends Bindable
if(TextUtils.isEmpty(item.subtitle) && item.subtitleRes==0){
subtitle.setVisibility(View.GONE);
title.setMaxLines(2);
view.setMinimumHeight(V.dp(56));
}else{
subtitle.setVisibility(View.VISIBLE);
title.setMaxLines(1);
view.setMinimumHeight(V.dp(72));
if(TextUtils.isEmpty(item.subtitle))
subtitle.setText(item.subtitleRes);