|
|
|
@ -64,7 +64,7 @@ public class InfoDialog { |
|
|
|
binding.title.setText(title); |
|
|
|
binding.title.setText(title); |
|
|
|
binding.url.setText(fixUrl()); |
|
|
|
binding.url.setText(fixUrl()); |
|
|
|
binding.header.setText(header); |
|
|
|
binding.header.setText(header); |
|
|
|
binding.title.setSingleLine(title.toString().contains(url)); |
|
|
|
binding.title.setSingleLine(title.toString().contains(fixUrl())); |
|
|
|
binding.url.setVisibility(TextUtils.isEmpty(url) ? View.GONE : View.VISIBLE); |
|
|
|
binding.url.setVisibility(TextUtils.isEmpty(url) ? View.GONE : View.VISIBLE); |
|
|
|
binding.header.setVisibility(TextUtils.isEmpty(header) ? View.GONE : View.VISIBLE); |
|
|
|
binding.header.setVisibility(TextUtils.isEmpty(header) ? View.GONE : View.VISIBLE); |
|
|
|
} |
|
|
|
} |
|
|
|
|