mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-26 Sets | Fix | Fix creating filter (#2475)
This commit is contained in:
parent
05a539e53f
commit
68bcc4e91d
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@ import androidx.lifecycle.ViewModel
|
|||
import androidx.lifecycle.ViewModelProvider
|
||||
import androidx.lifecycle.viewModelScope
|
||||
import com.anytypeio.anytype.analytics.base.Analytics
|
||||
import com.anytypeio.anytype.core_models.Block
|
||||
import com.anytypeio.anytype.core_models.DV
|
||||
import com.anytypeio.anytype.core_models.DVFilter
|
||||
import com.anytypeio.anytype.core_models.DVFilterQuickOption
|
||||
|
@ -475,6 +476,7 @@ open class FilterViewModel(
|
|||
filter = DVFilter(
|
||||
relationKey = relation,
|
||||
value = selected?.value?.toDouble(),
|
||||
quickOption = selected?.type ?: DVFilterQuickOption.EXACT_DATE,
|
||||
condition = condition.toDomain()
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue