Skip to content

Commit

Permalink
Added ability to select image which will be used to show small filter…
Browse files Browse the repository at this point in the history
… preview
  • Loading branch information
T8RIN committed Oct 20, 2024
1 parent 448f83d commit fab7515
Show file tree
Hide file tree
Showing 10 changed files with 706 additions and 525 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
package ru.tech.imageresizershrinker.core.filters.domain

import kotlinx.coroutines.flow.Flow
import ru.tech.imageresizershrinker.core.domain.model.ImageModel
import ru.tech.imageresizershrinker.core.filters.domain.model.Filter
import ru.tech.imageresizershrinker.core.filters.domain.model.TemplateFilter

Expand Down Expand Up @@ -51,4 +52,8 @@ interface FavoriteFiltersInteractor {

suspend fun reorderFavoriteFilters(newOrder: List<Filter<*>>)

fun getFilterPreviewModel(): Flow<ImageModel>

suspend fun setFilterPreviewModel(uri: String)

}
Loading

0 comments on commit fab7515

Please sign in to comment.