Skip to content

Commit

Permalink
Merge pull request #3231 from Discut/master
Browse files Browse the repository at this point in the history
fix(PageDelegate.kt): 修复Snackbar遮罩问题
  • Loading branch information
gedoor authored Jul 16, 2023
2 parents 9154671 + 1df70db commit b2bf49f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ abstract class PageDelegate(protected val readView: ReadView) {
* 按下
*/
fun onDown() {
// 判断snackBar是否显示,并关闭
if (snackBar.isShown) {
snackBar.dismiss()
}

//是否移动
isMoved = false
//是否存在下一章
Expand Down

0 comments on commit b2bf49f

Please sign in to comment.