]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/java/com/stoutner/privacybrowser/activities/AboutActivity.kt
fix filter lists being enabled when domain settings are created. https://redmine...
[PrivacyBrowserAndroid.git] / app / src / main / java / com / stoutner / privacybrowser / activities / AboutActivity.kt
index 49901e44f19039464bd6d82a97dca655b8fbc7e4..bd2a837d565c8f1444bffedd5c2f269678f32f1a 100644 (file)
@@ -84,6 +84,9 @@ class AboutActivity : AppCompatActivity() {
         // Set the view pager adapter.
         aboutViewPager2.adapter = aboutStateAdapter
 
+        // Disable swiping between pages in the view pager.
+        aboutViewPager2.isUserInputEnabled = false
+
         // Create a tab layout mediator.  Tab numbers start at 0.
         TabLayoutMediator(aboutTabLayout, aboutViewPager2) { tab, position ->
             // Set the tab text based on the position.