mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +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())
|
||||
return@launchWhenCreated
|
||||
}
|
||||
binding.progress.visibility = View.GONE
|
||||
if (response.disabled == true) {
|
||||
withContext(Dispatchers.Main) {
|
||||
binding.errorTV.visibility = View.VISIBLE
|
||||
@ -76,7 +77,6 @@ class CommentsSheet(
|
||||
}
|
||||
return@launchWhenCreated
|
||||
}
|
||||
binding.progress.visibility = View.GONE
|
||||
commentsAdapter.updateItems(response.comments)
|
||||
nextPage = 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="defaults">Defaults</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>
|
||||
|
||||
<!-- Notification channel strings -->
|
||||
|
Loading…
Reference in New Issue
Block a user