fix: comment replies visibility
This commit is contained in:
parent
55e156579b
commit
bff8983b23
2 changed files with 3 additions and 2 deletions
|
@ -41,7 +41,7 @@ class CommentItem(val comment: Comment,
|
||||||
val adapter = GroupieAdapter()
|
val adapter = GroupieAdapter()
|
||||||
private var subCommentIds: MutableList<Int> = mutableListOf()
|
private var subCommentIds: MutableList<Int> = mutableListOf()
|
||||||
val repliesSection = Section()
|
val repliesSection = Section()
|
||||||
var isEditing = false
|
private var isEditing = false
|
||||||
private var isReplying = false
|
private var isReplying = false
|
||||||
private var repliesVisible = false
|
private var repliesVisible = false
|
||||||
var MAX_DEPTH = 3
|
var MAX_DEPTH = 3
|
||||||
|
|
|
@ -245,7 +245,8 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:paddingStart="8dp"
|
android:paddingStart="8dp"
|
||||||
android:visibility="gone"
|
android:visibility="visible"
|
||||||
|
tools:visibility="gone"
|
||||||
tools:ignore="RtlSymmetry" />
|
tools:ignore="RtlSymmetry" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
Loading…
Add table
Add a link
Reference in a new issue