Skip to content

Commit

Permalink
Updated ReviewDescriptorUpdatesActivity title to show current page …
Browse files Browse the repository at this point in the history
…in view pager
  • Loading branch information
aanorbel committed Jan 22, 2024
1 parent 0be1854 commit 5de1da3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ class ReviewDescriptorUpdatesActivity : AbstractActivity() {
?.let {
val countString =
"(${position + 1} of ${binding.viewpager.adapter?.itemCount})"
supportActionBar?.title = "Link Update $countString"
it.title = if ((position + 1) != binding.viewpager.adapter?.itemCount) {
"UPDATE $countString"
} else {
Expand Down

0 comments on commit 5de1da3

Please sign in to comment.