Fix multiple selection

This commit is contained in:
2021-03-18 21:29:51 -05:00
parent d2ee210376
commit e745b959ca
2 changed files with 12 additions and 1 deletions

View File

@@ -156,7 +156,7 @@ class HabitCardListController @Inject constructor(
}
private fun notifyListener() {
if (activeMode === SelectionMode())
if (activeMode is SelectionMode)
selectionMenu.get().onSelectionChange()
else
selectionMenu.get().onSelectionFinish()