Skip to content

Commit

Permalink
Update parsers
Browse files Browse the repository at this point in the history
  • Loading branch information
Koitharu committed Feb 3, 2025
1 parent 23c814b commit cfecfce
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ android {
applicationId 'org.koitharu.kotatsu'
minSdk = 21
targetSdk = 35
versionCode = 700
versionCode = 1000
versionName = '8.0-a1'
generatedDensities = []
testInstrumentationRunner 'org.koitharu.kotatsu.HiltTestRunner'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,12 @@ class ReadButtonDelegate(
menu.setOnMenuItemClickListener(this)
menu.setForceShowIcon(true)
menu.setOnDismissListener(this)
buttonMenu.isChecked = true
menu.show()
if (menu.menu.hasVisibleItems()) {
buttonMenu.isChecked = true
menu.show()
} else {
buttonMenu.isChecked = false
}
}

private fun prepareMenu(menu: Menu) {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ material = "1.13.0-alpha10"
moshi = "1.15.2"
okhttp = "4.12.0"
okio = "3.10.2"
parsers = "51ed1b2db8"
parsers = "f4b678083d"
preference = "1.2.1"
recyclerview = "1.4.0"
room = "2.6.1"
Expand Down

0 comments on commit cfecfce

Please sign in to comment.