Pārlūkot izejas kodu

Fix isHideToolbar wrong state bug

cooperku_kdanmobile 5 gadi atpakaļ
vecāks
revīzija
d6200bb6c6

+ 1 - 1
reader/src/main/java/com/kdanmobile/reader/ReaderActivity.kt

@@ -289,7 +289,7 @@ abstract class ReaderActivity : AppCompatActivity() {
                 }
                 if (!isHideToolbar) {
                     hideAllToolbars()
-                    isHideToolbar = false
+                    isHideToolbar = true
                 }
                 return super.onScroll(e1, e2, distanceX, distanceY)
             }