mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 00:10:32 +05:30
ktlint
This commit is contained in:
parent
bb784f5880
commit
843bdfd8e4
@ -78,7 +78,12 @@ class CommentsAdapter(
|
|||||||
repliesAvailable.visibility = View.GONE
|
repliesAvailable.visibility = View.GONE
|
||||||
|
|
||||||
if (position == 0) {
|
if (position == 0) {
|
||||||
root.setBackgroundColor(ContextCompat.getColor(root.context, R.color.replies_original_comment_background))
|
root.setBackgroundColor(
|
||||||
|
ContextCompat.getColor(
|
||||||
|
root.context,
|
||||||
|
R.color.replies_original_comment_background
|
||||||
|
)
|
||||||
|
)
|
||||||
root.updateLayoutParams<MarginLayoutParams> { bottomMargin = 40 }
|
root.updateLayoutParams<MarginLayoutParams> { bottomMargin = 40 }
|
||||||
divider.visibility = View.VISIBLE
|
divider.visibility = View.VISIBLE
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user