aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src
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
commit16874b7ecf74d18c74087d76d68c5e963f137d8f (patch)
tree50f8fd01786684f13b57f0a44229e5a17a003b2e /androidApp/src
parent24bbcbb4a244f2e41c7ca3773ad1378ee422f55c (diff)
parent665738fe28fd5cbfdf7836ece782967809f67398 (diff)
downloadetbsa-trackermap-mobile-16874b7ecf74d18c74087d76d68c5e963f137d8f.tar.gz
etbsa-trackermap-mobile-16874b7ecf74d18c74087d76d68c5e963f137d8f.tar.bz2
etbsa-trackermap-mobile-16874b7ecf74d18c74087d76d68c5e963f137d8f.zip
Merge branch 'main' into export_xlsx
Diffstat (limited to 'androidApp/src')
-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 =