From b706972acb222dea24894cd5d7f052995217f33c Mon Sep 17 00:00:00 2001 From: Bettenbuk Zoltan Date: Tue, 7 Apr 2020 09:57:01 +0200 Subject: [PATCH] fix: re-add android only chat input padding --- react/features/chat/components/native/ChatInputBar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react/features/chat/components/native/ChatInputBar.js b/react/features/chat/components/native/ChatInputBar.js index 2f823eafda7b..368f1ef708e0 100644 --- a/react/features/chat/components/native/ChatInputBar.js +++ b/react/features/chat/components/native/ChatInputBar.js @@ -1,7 +1,7 @@ // @flow import React, { Component } from 'react'; -import { TextInput, TouchableOpacity, View } from 'react-native'; +import { Platform, TextInput, TouchableOpacity, View } from 'react-native'; import { translate } from '../../../base/i18n'; import { Icon, IconChatSend } from '../../../base/icons'; @@ -135,7 +135,7 @@ class ChatInputBar extends Component { */ _onFocused(focused) { return () => { - this.setState({ + Platform.OS === 'android' && this.setState({ addPadding: focused }); };