Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ class ViewImageFragment : ViewMediaFragment() {
}

override fun onToolbarVisibilityChange(visible: Boolean) {
if (binding.photoView == null || !userVisibleHint || binding.captionSheet == null) {
if (!userVisibleHint) {
return
}
isDescriptionVisible = showingDescription && visible
Expand Down Expand Up @@ -332,7 +332,10 @@ class ViewImageFragment : ViewMediaFragment() {
// so in case of cache miss, onStart is used
}

override fun onFinish() {}
override fun onFinish() {
binding.progressBar.hide()
}

override fun onProgress(progress: Int) {
// TODO: make use of it :)
}
Expand Down