Toggle selection on long press even when in selection mode
This commit is contained in:
parent
9178426ec1
commit
eb31174913
@ -341,6 +341,8 @@ class OtherSessionsFragment :
|
||||
override fun onOtherSessionLongClicked(deviceId: String) = withState(viewModel) { state ->
|
||||
if (!state.isSelectModeEnabled) {
|
||||
enableSelectMode(true, deviceId)
|
||||
} else {
|
||||
viewModel.handle(OtherSessionsAction.ToggleSelectionForDevice(deviceId))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user