fix overflowing progress bar and comments disabled text

This commit is contained in:
Bnyro 2022-11-27 14:43:59 +01:00
parent dbe7ab990d
commit c0432143bb
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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 -->