mirror of
https://github.com/gedoor/legado.git
synced 2024-09-03 09:55:00 +08:00
Merge pull request #3231 from Discut/master
fix(PageDelegate.kt): 修复Snackbar遮罩问题
This commit is contained in:
commit
b2bf49f2a4
@ -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