Apply themed icon colors in UI layer, not in icon repository
This commit is contained in:
@@ -8,11 +8,12 @@ import androidx.palette.graphics.Palette
|
||||
import java.lang.ref.WeakReference
|
||||
|
||||
open class LauncherIcon(
|
||||
foreground: Drawable,
|
||||
background: Drawable? = null,
|
||||
foregroundScale: Float = 1f,
|
||||
backgroundScale: Float = 1f,
|
||||
var autoGenerateBackgroundMode: Int = BACKGROUND_WHITE
|
||||
foreground: Drawable,
|
||||
background: Drawable? = null,
|
||||
foregroundScale: Float = 1f,
|
||||
backgroundScale: Float = 1f,
|
||||
var autoGenerateBackgroundMode: Int = BACKGROUND_WHITE,
|
||||
val isThemeable: Boolean = false,
|
||||
) {
|
||||
|
||||
var foreground = foreground
|
||||
|
||||
Reference in New Issue
Block a user