From 5de1da3939f2adf4dfbf3a05428763e7bad2c5b8 Mon Sep 17 00:00:00 2001 From: Norbel AMBANUMBEN Date: Mon, 22 Jan 2024 13:55:58 +0100 Subject: [PATCH] Updated `ReviewDescriptorUpdatesActivity` title to show current page in view pager --- .../reviewdescriptorupdates/ReviewDescriptorUpdatesActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/openobservatory/ooniprobe/activity/reviewdescriptorupdates/ReviewDescriptorUpdatesActivity.kt b/app/src/main/java/org/openobservatory/ooniprobe/activity/reviewdescriptorupdates/ReviewDescriptorUpdatesActivity.kt index a6a0d2cc4..1e35f777f 100644 --- a/app/src/main/java/org/openobservatory/ooniprobe/activity/reviewdescriptorupdates/ReviewDescriptorUpdatesActivity.kt +++ b/app/src/main/java/org/openobservatory/ooniprobe/activity/reviewdescriptorupdates/ReviewDescriptorUpdatesActivity.kt @@ -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 {