Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
fix cut-off settings item titles
Browse files Browse the repository at this point in the history
closes #723
  • Loading branch information
sk22 committed Aug 28, 2023
1 parent 4d90cad commit 1ee5e1a
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,9 @@ public void onBind(T item){

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);
Expand Down

0 comments on commit 1ee5e1a

Please sign in to comment.