Move CustomFilter to kmp

pull/2945/head
Alex Baker 4 months ago
parent a538c25dcc
commit ba8d56cc96

@ -61,7 +61,7 @@ import com.todoroo.astrid.adapter.TaskAdapter
import com.todoroo.astrid.adapter.TaskAdapterProvider
import com.todoroo.astrid.api.AstridApiConstants.EXTRAS_OLD_DUE_DATE
import com.todoroo.astrid.api.AstridApiConstants.EXTRAS_TASK_ID
import com.todoroo.astrid.api.CustomFilter
import org.tasks.filters.CustomFilter
import com.todoroo.astrid.dao.TaskDao
import com.todoroo.astrid.repeats.RepeatTaskHelper
import com.todoroo.astrid.service.TaskCompleter

@ -22,7 +22,7 @@ import org.tasks.data.sql.UnaryCriterion
import com.todoroo.astrid.activity.MainActivity
import com.todoroo.astrid.activity.TaskListFragment
import com.todoroo.astrid.api.BooleanCriterion
import com.todoroo.astrid.api.CustomFilter
import org.tasks.filters.CustomFilter
import com.todoroo.astrid.api.CustomFilterCriterion
import com.todoroo.astrid.api.MultipleSelectCriterion
import com.todoroo.astrid.api.PermaSql

@ -19,7 +19,7 @@ import androidx.recyclerview.widget.RecyclerView
import com.todoroo.astrid.adapter.FilterViewHolder
import com.todoroo.astrid.adapter.NavigationDrawerAdapter
import org.tasks.filters.CaldavFilter
import com.todoroo.astrid.api.CustomFilter
import org.tasks.filters.CustomFilter
import org.tasks.filters.GtasksFilter
import org.tasks.filters.TagFilter
import dagger.hilt.android.AndroidEntryPoint

@ -1,6 +1,5 @@
package org.tasks.filters
import com.todoroo.astrid.api.CustomFilter
import org.tasks.billing.Inventory
import org.tasks.themes.TasksIcons

@ -1,7 +1,6 @@
package org.tasks.filters
import android.content.Context
import com.todoroo.astrid.api.CustomFilter
import com.todoroo.astrid.core.BuiltInFilterExposer
import dagger.hilt.android.qualifiers.ApplicationContext
import org.tasks.BuildConfig

@ -1,6 +1,6 @@
package org.tasks.preferences
import com.todoroo.astrid.api.CustomFilter
import org.tasks.filters.CustomFilter
import kotlinx.coroutines.runBlocking
import org.tasks.R
import org.tasks.Strings.isNullOrEmpty

@ -1,11 +1,9 @@
package com.todoroo.astrid.api
package org.tasks.filters
import kotlinx.parcelize.Parcelize
import org.tasks.filters.Filter
import org.tasks.filters.FilterListItem
import org.tasks.CommonParcelize
import org.tasks.themes.TasksIcons
@Parcelize
@CommonParcelize
data class CustomFilter(
val filter: org.tasks.data.entity.Filter,
) : Filter {
Loading…
Cancel
Save