diff --git a/app/src/main/java/com/github/libretube/ui/sheets/CommentsSheet.kt b/app/src/main/java/com/github/libretube/ui/sheets/CommentsSheet.kt index eed7a9dd5..007d7eb19 100644 --- a/app/src/main/java/com/github/libretube/ui/sheets/CommentsSheet.kt +++ b/app/src/main/java/com/github/libretube/ui/sheets/CommentsSheet.kt @@ -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) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 3d6df189f..f090dbed5 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -396,7 +396,7 @@ Use swipe gesture to adjust the brightness and volume. Defaults Pop-Up - Comments are disabled by the author. + Comments are disabled by the uploader. This video has no comments available.