diff --git a/app/components/channel_drawer/channels_list/channels_list.js b/app/components/channel_drawer/channels_list/channels_list.js index 66e056fae..0d65b42af 100644 --- a/app/components/channel_drawer/channels_list/channels_list.js +++ b/app/components/channel_drawer/channels_list/channels_list.js @@ -140,6 +140,13 @@ class ChannelsList extends React.PureComponent { ); } + const searchBarInput = { + backgroundColor: changeOpacity(theme.sidebarHeaderTextColor, 0.2), + color: theme.sidebarHeaderTextColor, + fontSize: 15, + lineHeight: 66 + }; + const title = ( { } }) }, - searchBarInput: { - backgroundColor: changeOpacity(theme.sidebarHeaderTextColor, 0.2), - color: theme.sidebarHeaderTextColor, - fontSize: 15, - lineHeight: 66 - }, divider: { backgroundColor: changeOpacity(theme.sidebarText, 0.1), height: 1 diff --git a/app/screens/search/search.js b/app/screens/search/search.js index d2d6b79f0..f9d8fb222 100644 --- a/app/screens/search/search.js +++ b/app/screens/search/search.js @@ -590,6 +590,13 @@ class Search extends PureComponent { ); } + const searchBarInput = { + backgroundColor: changeOpacity(theme.sidebarHeaderTextColor, 0.2), + color: theme.sidebarHeaderTextColor, + fontSize: 15, + lineHeight: 66 + }; + return ( { } }) }, - searchBarInput: { - backgroundColor: changeOpacity(theme.sidebarHeaderTextColor, 0.2), - color: theme.sidebarHeaderTextColor, - fontSize: 15, - lineHeight: 66 - }, searchBarContainer: { padding: 0 },