mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 07:50:31 +05:30
fix overflowing progress bar and comments disabled
text
This commit is contained in:
parent
dbe7ab990d
commit
c0432143bb
@ -63,6 +63,7 @@ class CommentsSheet(
|
|||||||
Log.e(TAG(), e.toString())
|
Log.e(TAG(), e.toString())
|
||||||
return@launchWhenCreated
|
return@launchWhenCreated
|
||||||
}
|
}
|
||||||
|
binding.progress.visibility = View.GONE
|
||||||
if (response.disabled == true) {
|
if (response.disabled == true) {
|
||||||
withContext(Dispatchers.Main) {
|
withContext(Dispatchers.Main) {
|
||||||
binding.errorTV.visibility = View.VISIBLE
|
binding.errorTV.visibility = View.VISIBLE
|
||||||
@ -76,7 +77,6 @@ class CommentsSheet(
|
|||||||
}
|
}
|
||||||
return@launchWhenCreated
|
return@launchWhenCreated
|
||||||
}
|
}
|
||||||
binding.progress.visibility = View.GONE
|
|
||||||
commentsAdapter.updateItems(response.comments)
|
commentsAdapter.updateItems(response.comments)
|
||||||
nextPage = response.nextpage
|
nextPage = response.nextpage
|
||||||
onMoreComments.invoke(response.comments, response.nextpage)
|
onMoreComments.invoke(response.comments, response.nextpage)
|
||||||
|
@ -396,7 +396,7 @@
|
|||||||
<string name="swipe_controls_summary">Use swipe gesture to adjust the brightness and volume.</string>
|
<string name="swipe_controls_summary">Use swipe gesture to adjust the brightness and volume.</string>
|
||||||
<string name="defaults">Defaults</string>
|
<string name="defaults">Defaults</string>
|
||||||
<string name="pop_up">Pop-Up</string>
|
<string name="pop_up">Pop-Up</string>
|
||||||
<string name="comments_disabled">Comments are disabled by the author.</string>
|
<string name="comments_disabled">Comments are disabled by the uploader.</string>
|
||||||
<string name="no_comments_available">This video has no comments available.</string>
|
<string name="no_comments_available">This video has no comments available.</string>
|
||||||
|
|
||||||
<!-- Notification channel strings -->
|
<!-- Notification channel strings -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user