Skip to content

Commit

Permalink
Merge pull request #2771 from mikepenz/feature/2768
Browse files Browse the repository at this point in the history
Do not set `selectOnLongClick` on `multiSelect=false`
  • Loading branch information
mikepenz committed Mar 18, 2022
2 parents 8186e00 + e32ccb3 commit 92db410
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ open class MaterialDrawerSliderView @JvmOverloads constructor(context: Context,
var multiSelect
set(value) {
this.selectExtension.multiSelect = value
this.selectExtension.selectOnLongClick = !value
this.selectExtension.allowDeselection = value
}
get() = this.selectExtension.multiSelect
Expand Down

0 comments on commit 92db410

Please sign in to comment.