Horis 1 rok temu
rodzic
commit
e1454e1405

+ 0 - 3
app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt

@@ -501,9 +501,6 @@ class BookInfoActivity :
             refreshLayout.isRefreshing = false
             refreshLayout.isRefreshing = false
             refreshBook()
             refreshBook()
         }
         }
-        refreshLayout?.setOnChildScrollUpCallback { _, target ->
-            target!!.canScrollVertically(-1) || tvIntro.hasSelection()
-        }
     }
     }
 
 
     private fun setSourceVariable() {
     private fun setSourceVariable() {

+ 2 - 2
app/src/main/res/layout/activity_book_info.xml

@@ -35,7 +35,7 @@
             android:layout_height="0dp"
             android:layout_height="0dp"
             android:layout_weight="1">
             android:layout_weight="1">
 
 
-            <ScrollView
+            <androidx.core.widget.NestedScrollView
                 android:id="@+id/scroll_view"
                 android:id="@+id/scroll_view"
                 android:layout_width="match_parent"
                 android:layout_width="match_parent"
                 android:layout_height="0dp"
                 android:layout_height="0dp"
@@ -374,7 +374,7 @@
 
 
                 </LinearLayout>
                 </LinearLayout>
 
 
-            </ScrollView>
+            </androidx.core.widget.NestedScrollView>
 
 
         </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
         </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>