lets get the dominant color from all icons

This commit is contained in:
tibbi
2022-09-18 09:28:27 +02:00
parent ab3922be22
commit ed81323af6
2 changed files with 30 additions and 2 deletions

View File

@ -11,11 +11,12 @@ data class AppLauncher(
@ColumnInfo(name = "title") var title: String,
@ColumnInfo(name = "package_name") var packageName: String,
@ColumnInfo(name = "order") var order: Int,
@ColumnInfo(name = "thumbnail_color") var thumbnailColor: Int,
@Ignore var drawable: Drawable?
) : Comparable<AppLauncher> {
constructor() : this(null, "", "", 0, null)
constructor() : this(null, "", "", 0, 0, null)
companion object {
var sorting = 0