mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
fix(PageDelegate.kt): 修复Snackbar遮罩问题
This commit is contained in:
@@ -141,6 +141,11 @@ abstract class PageDelegate(protected val readView: ReadView) {
|
||||
* 按下
|
||||
*/
|
||||
fun onDown() {
|
||||
// 判断snackBar是否显示,并关闭
|
||||
if (snackBar.isShown) {
|
||||
snackBar.dismiss()
|
||||
}
|
||||
|
||||
//是否移动
|
||||
isMoved = false
|
||||
//是否存在下一章
|
||||
|
||||
Reference in New Issue
Block a user