From 1c9d93b817a81984b590a710719361241b6beade Mon Sep 17 00:00:00 2001 From: YuKongA <70465933+YuKongA@users.noreply.github.com> Date: Wed, 30 Oct 2024 10:09:48 +0800 Subject: [PATCH] device: Add Pad 7 series --- composeApp/src/commonMain/kotlin/data/DeviceInfoHelper.kt | 2 ++ composeApp/src/commonMain/kotlin/ui/components/TextWithIcon.kt | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/composeApp/src/commonMain/kotlin/data/DeviceInfoHelper.kt b/composeApp/src/commonMain/kotlin/data/DeviceInfoHelper.kt index 3bee211..0fa3b49 100644 --- a/composeApp/src/commonMain/kotlin/data/DeviceInfoHelper.kt +++ b/composeApp/src/commonMain/kotlin/data/DeviceInfoHelper.kt @@ -180,6 +180,8 @@ object DeviceInfoHelper { Device("Xiaomi MIX Flip", "ruyi", "NI"), Device("Xiaomi 15", "dada", "OC"), Device("Xiaomi 15 Pro", "haotian", "OB"), + Device("Xiaomi Pad 7", "uke", "OZ"), + Device("Xiaomi Pad 7 Pro", "muyu", "OY"), ) private const val XIAOMI = "XM" diff --git a/composeApp/src/commonMain/kotlin/ui/components/TextWithIcon.kt b/composeApp/src/commonMain/kotlin/ui/components/TextWithIcon.kt index 474802f..e321456 100644 --- a/composeApp/src/commonMain/kotlin/ui/components/TextWithIcon.kt +++ b/composeApp/src/commonMain/kotlin/ui/components/TextWithIcon.kt @@ -67,7 +67,6 @@ fun TextWithIcon( } } } - println(it) if (it.isNotEmpty() && it != " ") { Text( text = it,