From b9fabe68c0588a0feecf581c4adfcd29d016d799 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Sun, 14 Jan 2024 19:29:33 +0800 Subject: [PATCH] fix: wrapCanvasToFixClipping for vivo --- .../main/java/org/telegram/ui/Components/EditTextEffects.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 6ca6dbd110..2407f9fbd6 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/Components/EditTextEffects.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/Components/EditTextEffects.java @@ -282,7 +282,8 @@ public static boolean allowHackingTextCanvas() { Build.MANUFACTURER == null || !Build.MANUFACTURER.toLowerCase().contains("honor") && !Build.MANUFACTURER.toLowerCase().contains("huawei") && - !Build.MANUFACTURER.toLowerCase().contains("alps") + !Build.MANUFACTURER.toLowerCase().contains("alps") && + !Build.MANUFACTURER.toLowerCase().contains("vivo") ) && ( Build.MODEL == null || !Build.MODEL.toLowerCase().contains("mediapad")