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