Skip to content

Commit

Permalink
fix: re-add android only chat input padding
Browse files Browse the repository at this point in the history
  • Loading branch information
zbettenbuk authored and root committed Apr 9, 2020
1 parent 3a5ef78 commit cc415a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions react/features/chat/components/native/ChatInputBar.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -135,7 +135,7 @@ class ChatInputBar extends Component<Props, State> {
*/
_onFocused(focused) {
return () => {
this.setState({
Platform.OS === 'android' && this.setState({
addPadding: focused
});
};
Expand Down

0 comments on commit cc415a9

Please sign in to comment.