Răsfoiți Sursa

fix to close gap between typing indicator and message input

otherwise chat content was visible in between

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Marcel Hibbe 2 ani în urmă
părinte
comite
9a76ce7ccd

+ 1 - 1
app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt

@@ -971,7 +971,7 @@ class ChatActivity :
 
             if (participantNames.size > 0) {
                 binding.typingIndicatorWrapper.animate()
-                    .translationY(binding.messageInputView.y - DisplayUtils.convertDpToPixel(20f, context))
+                    .translationY(binding.messageInputView.y - DisplayUtils.convertDpToPixel(18f, context))
                     .setInterpolator(AccelerateDecelerateInterpolator())
                     .duration = TYPING_INDICATOR_ANIMATION_DURATION
             } else {