diff --git a/vector/src/main/java/im/vector/app/features/themes/BubbleThemeUtils.kt b/vector/src/main/java/im/vector/app/features/themes/BubbleThemeUtils.kt index 780c890032..593da8fc5a 100644 --- a/vector/src/main/java/im/vector/app/features/themes/BubbleThemeUtils.kt +++ b/vector/src/main/java/im/vector/app/features/themes/BubbleThemeUtils.kt @@ -121,7 +121,7 @@ data class ScBubbleAppearance( return context.resources.getDimensionPixelSize(roundness) } fun getBubbleRadiusDp(context: Context): Float { - return context.resources.getDimension(roundness) + return (context.resources.getDimension(roundness) / context.resources.displayMetrics.density) } }