Ver Fonte

Fix isHideToolbar wrong state bug

cooperku_kdanmobile há 5 anos atrás
pai
commit
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)
             }