Add option to use placeholder icon as custom icon
This commit is contained in:
@@ -150,6 +150,9 @@ class IconRepository(
|
||||
)
|
||||
)
|
||||
}
|
||||
if (customIcon is DefaultPlaceholderIcon) {
|
||||
return placeholderProvider?.let { listOf(it) } ?: emptyList()
|
||||
}
|
||||
return emptyList()
|
||||
}
|
||||
|
||||
@@ -263,6 +266,8 @@ class IconRepository(
|
||||
)
|
||||
}
|
||||
|
||||
providerOptions.add(DefaultPlaceholderIcon)
|
||||
|
||||
suggestions.addAll(
|
||||
transformationOptions.map {
|
||||
val transformations = getTransformations(it) ?: defaultTransformations
|
||||
|
||||
Reference in New Issue
Block a user