Fixing improper padding of searchBar container (#4212)
* Fixing improper padding of searchBar container * Ensures leftComponent is hidden after animation
This commit is contained in:
parent
9af108026e
commit
64a2de8243
1 changed files with 2 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ import MaterialIcon from 'react-native-vector-icons/MaterialIcons';
|
|||
|
||||
import SearchBar from 'app/components/search_bar';
|
||||
import {ViewTypes} from 'app/constants';
|
||||
import {paddingHorizontal as padding} from 'app/components/safe_area_view/iphone_x_spacing';
|
||||
import {paddingLeft as padding} from 'app/components/safe_area_view/iphone_x_spacing';
|
||||
import {
|
||||
changeOpacity,
|
||||
makeStyleSheetFromTheme,
|
||||
|
|
@ -228,6 +228,7 @@ const getStyleSheet = makeStyleSheetFromTheme((theme) => {
|
|||
searchContainer: {
|
||||
flex: 1,
|
||||
flexDirection: 'row',
|
||||
overflow: 'hidden',
|
||||
...Platform.select({
|
||||
android: {
|
||||
marginBottom: 1,
|
||||
|
|
|
|||
Loading…
Reference in a new issue