Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev -> main #2671

Merged
merged 8 commits into from
Oct 28, 2020
Prev Previous commit
Next Next commit
- fix multiple items staying selected when using MiniDrawerSliderView.kt
  - FIX #2665
  • Loading branch information
mikepenz committed Oct 28, 2020
commit 65fb57bdb5243981812fa0b2bc72d425ae1965b5
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ open class MiniDrawerSliderView @JvmOverloads constructor(context: Context, attr
val drawerItem = drawer?.getDrawerItem(item.identifier)
if (drawerItem != null && !drawerItem.isSelected) {
//set the selection
drawer?.selectExtension?.deselect()
drawer?.setSelection(item.identifier, true)
}
} else if (drawer?.onDrawerItemClickListener != null) {
Expand Down