diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-01-13 20:32:42 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-01-13 20:32:42 -0600 |
commit | b6806204b11282cff093cfb978a22fefdbc4da74 (patch) | |
tree | 50f8fd01786684f13b57f0a44229e5a17a003b2e /androidApp/src/main | |
parent | 5bd8ab38cd1549b267ff93fd1ea93f1c0ca9d8ab (diff) | |
parent | c47dfe757e4fe589876a31cc24e079056a8a7918 (diff) | |
download | etbsa-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/src/main')
-rw-r--r-- | androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/DetailsActivity.kt | 5 |
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 = |