mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 07:50:31 +05:30
ktlint
This commit is contained in:
parent
042cf26c1c
commit
bb784f5880
@ -92,7 +92,10 @@ class CommentsAdapter(
|
||||
val repliesFragment = CommentsRepliesFragment().apply {
|
||||
arguments = Bundle().apply {
|
||||
putString(IntentData.videoId, videoId)
|
||||
putString(IntentData.comment, Json.encodeToString(Comment.serializer(), comment))
|
||||
putString(
|
||||
IntentData.comment,
|
||||
Json.encodeToString(Comment.serializer(), comment)
|
||||
)
|
||||
}
|
||||
}
|
||||
root.setOnClickListener {
|
||||
|
@ -45,7 +45,7 @@ class CommentsRepliesFragment : Fragment() {
|
||||
val videoId = arguments?.getString(IntentData.videoId) ?: ""
|
||||
val comment = Json.decodeFromString(
|
||||
Comment.serializer(),
|
||||
arguments?.getString(IntentData.comment) ?: """{}""",
|
||||
arguments?.getString(IntentData.comment) ?: """{}"""
|
||||
)
|
||||
|
||||
repliesAdapter = CommentsAdapter(null, videoId, mutableListOf(comment), true) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user