3492: Correctly shorten name in drawer and notifications (#3495)
* #3492: Correctly shorten name in drawer and notifications * Trigger linter again * 3492: Use a flat ContraintLayout for everything
This commit is contained in:
parent
5f00e3fd35
commit
040268e2d3
3 changed files with 133 additions and 121 deletions
|
|
@ -137,7 +137,9 @@ internal class StatusNotificationViewHolder(
|
|||
}
|
||||
|
||||
private fun showNotificationContent(show: Boolean) {
|
||||
binding.statusNameBar.visibility = if (show) View.VISIBLE else View.GONE
|
||||
binding.statusDisplayName.visibility = if (show) View.VISIBLE else View.GONE
|
||||
binding.statusUsername.visibility = if (show) View.VISIBLE else View.GONE
|
||||
binding.statusMetaInfo.visibility = if (show) View.VISIBLE else View.GONE
|
||||
binding.notificationContentWarningDescription.visibility =
|
||||
if (show) View.VISIBLE else View.GONE
|
||||
binding.notificationContentWarningButton.visibility =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue