aboutsummaryrefslogtreecommitdiff
path: root/androidApp
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-13 20:32:42 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-13 20:32:42 -0600
commitb6806204b11282cff093cfb978a22fefdbc4da74 (patch)
tree50f8fd01786684f13b57f0a44229e5a17a003b2e /androidApp
parent5bd8ab38cd1549b267ff93fd1ea93f1c0ca9d8ab (diff)
parentc47dfe757e4fe589876a31cc24e079056a8a7918 (diff)
downloadetbsa-trackermap-mobile-b6806204b11282cff093cfb978a22fefdbc4da74.tar.gz
etbsa-trackermap-mobile-b6806204b11282cff093cfb978a22fefdbc4da74.tar.bz2
etbsa-trackermap-mobile-b6806204b11282cff093cfb978a22fefdbc4da74.zip
Merge branch 'main' into export_xlsx
Diffstat (limited to 'androidApp')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/DetailsActivity.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/DetailsActivity.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/DetailsActivity.kt
index 0b0313b..d942de2 100644
--- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/DetailsActivity.kt
+++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/DetailsActivity.kt
@@ -58,6 +58,11 @@ class DetailsActivity : AppCompatActivity() {
else -> 2
}, false
)
+ binding.detailsPager.isUserInputEnabled = when (initialSection) {
+ Action.DETAILS -> true
+ Action.REPORTS -> false
+ else -> true
+ }
binding.detailsTabs.addOnTabSelectedListener(object: TabLayout.OnTabSelectedListener {
override fun onTabSelected(tab: TabLayout.Tab?) {
binding.detailsPager.isUserInputEnabled =