We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0e8dc2 commit 8b40168Copy full SHA for 8b40168
plugin/CompactMode/src/main/kotlin/CompactMode.kt
@@ -153,7 +153,10 @@ class CompactMode : Plugin() {
153
}
154
if (settings.hideAvatar) {
155
avatarView!!.visibility = View.GONE
156
- avatarDecoration?.visibility = View.GONE
+ avatarDecoration?.layoutParams<ConstraintLayout.LayoutParams>()?.run {
157
+ height = 0
158
+ width = 0
159
+ }
160
161
headerView.layoutParams<ConstraintLayout.LayoutParams>().marginStart = contentMargin
162
0 commit comments