diff --git a/TMessagesProj/src/main/java/org/telegram/ui/Components/EditTextEffects.java b/TMessagesProj/src/main/java/org/telegram/ui/Components/EditTextEffects.java index 1e88d92341..5feabc714b 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/Components/EditTextEffects.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/Components/EditTextEffects.java @@ -85,7 +85,9 @@ public class EditTextEffects extends EditText { public EditTextEffects(Context context) { super(context); - + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.VANILLA_ICE_CREAM) { + setLocalePreferredLineHeightForMinimumUsed(false); + } if (Looper.getMainLooper().getThread() == Thread.currentThread()) { clickDetector = new SpoilersClickDetector(this, spoilers, this::onSpoilerClicked); }