Browse Source

fix: re-add android only chat input padding

master
Bettenbuk Zoltan 5 years ago
parent
commit
b706972acb
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      react/features/chat/components/native/ChatInputBar.js

+ 2
- 2
react/features/chat/components/native/ChatInputBar.js View File

@@ -1,7 +1,7 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { TextInput, TouchableOpacity, View } from 'react-native';
4
+import { Platform, TextInput, TouchableOpacity, View } from 'react-native';
5 5
 
6 6
 import { translate } from '../../../base/i18n';
7 7
 import { Icon, IconChatSend } from '../../../base/icons';
@@ -135,7 +135,7 @@ class ChatInputBar extends Component<Props, State> {
135 135
      */
136 136
     _onFocused(focused) {
137 137
         return () => {
138
-            this.setState({
138
+            Platform.OS === 'android' && this.setState({
139 139
                 addPadding: focused
140 140
             });
141 141
         };

Loading…
Cancel
Save