diff --git a/app/src/main/java/eu/darken/octi/main/ui/dashboard/items/perdevice/DeviceVH.kt b/app/src/main/java/eu/darken/octi/main/ui/dashboard/items/perdevice/DeviceVH.kt index c2744953..e490ab53 100644 --- a/app/src/main/java/eu/darken/octi/main/ui/dashboard/items/perdevice/DeviceVH.kt +++ b/app/src/main/java/eu/darken/octi/main/ui/dashboard/items/perdevice/DeviceVH.kt @@ -39,6 +39,7 @@ class DeviceVH(parent: ViewGroup) : when (meta.deviceType) { MetaInfo.DeviceType.PHONE -> R.drawable.ic_baseline_phone_android_24 MetaInfo.DeviceType.TABLET -> R.drawable.ic_baseline_tablet_android_24 + MetaInfo.DeviceType.UNKNOWN -> R.drawable.ic_baseline_question_mark_24 } ) deviceLabel.text = meta.deviceLabel diff --git a/modules-meta/src/main/java/eu/darken/octi/modules/meta/core/MetaInfo.kt b/modules-meta/src/main/java/eu/darken/octi/modules/meta/core/MetaInfo.kt index 39166432..5466cb59 100644 --- a/modules-meta/src/main/java/eu/darken/octi/modules/meta/core/MetaInfo.kt +++ b/modules-meta/src/main/java/eu/darken/octi/modules/meta/core/MetaInfo.kt @@ -31,5 +31,6 @@ data class MetaInfo( enum class DeviceType { @Json(name = "PHONE") PHONE, @Json(name = "TABLET") TABLET, + @Json(name = "UNKNOWN") UNKNOWN, } } \ No newline at end of file