Fix linting error

Happened without a reason really, but should be working now I think
This commit is contained in:
kmmiio99o 2025-11-28 17:59:18 +01:00
parent bd9fe79f2a
commit 65c175f977

View file

@ -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)