mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-07 21:37:02 +09:00
DROID-3355 App | Tech | Release stabilisation fixes (#2472)
This commit is contained in:
parent
73a999618d
commit
363560b459
1 changed files with 9 additions and 6 deletions
|
@ -460,13 +460,16 @@ open class FilterViewModel(
|
|||
}
|
||||
|
||||
fun onConditionClicked() {
|
||||
val condition = conditionState.value?.condition
|
||||
checkNotNull(condition)
|
||||
viewModelScope.launch {
|
||||
proceedWithConditionPickerScreen(
|
||||
type = condition.type(),
|
||||
index = condition.index()
|
||||
)
|
||||
val condition = conditionState.value?.condition
|
||||
if (condition != null) {
|
||||
proceedWithConditionPickerScreen(
|
||||
type = condition.type(),
|
||||
index = condition.index()
|
||||
)
|
||||
} else {
|
||||
Timber.e("Unexpected state: condition was null in filter")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue