From 65c175f97711389539036e8f88d3a0c6112bee3f Mon Sep 17 00:00:00 2001 From: kmmiio99o <164557248+kmmiio99o@users.noreply.github.com> Date: Fri, 28 Nov 2025 17:59:18 +0100 Subject: [PATCH] Fix linting error Happened without a reason really, but should be working now I think --- .../kotlin/ShiggyXposed/xposed/xposed/modules/LogBoxModule.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/ShiggyXposed/xposed/xposed/modules/LogBoxModule.kt b/app/src/main/kotlin/ShiggyXposed/xposed/xposed/modules/LogBoxModule.kt index ad3f9ce..bf34c28 100644 --- a/app/src/main/kotlin/ShiggyXposed/xposed/xposed/modules/LogBoxModule.kt +++ b/app/src/main/kotlin/ShiggyXposed/xposed/xposed/modules/LogBoxModule.kt @@ -465,7 +465,9 @@ object LogBoxModule : Module() { textSize = 14f setTextColor(colors.onSurfaceVariant) setPadding(0, 0, 0, dpToPx(context, 24)) - lineHeight = dpToPx(context, 20) + if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.P) { + lineHeight = dpToPx(context, 20) + } } container.addView(messageView)