diff --git a/app/src/component/suggestedSubscriptions/view.js b/app/src/component/suggestedSubscriptions/view.js index b51e1af3..18c55fe4 100644 --- a/app/src/component/suggestedSubscriptions/view.js +++ b/app/src/component/suggestedSubscriptions/view.js @@ -1,6 +1,7 @@ import React from 'react'; import { ActivityIndicator, SectionList, Text, View } from 'react-native'; import { normalizeURI } from 'lbry-redux'; +import { navigateToUri } from 'utils/helper'; import SubscribeButton from 'component/subscribeButton'; import SuggestedSubscriptionItem from 'component/suggestedSubscriptionItem'; import Colors from 'styles/colors'; @@ -36,7 +37,9 @@ class SuggestedSubscriptions extends React.PureComponent { const channelUri = normalizeURI(titleParts[1]); return ( - + { + navigateToUri(navigation, normalizeURI(channelUri)); + }} /> ) diff --git a/app/src/component/uriBar/view.js b/app/src/component/uriBar/view.js index 2d11fc0d..5a2ec52a 100644 --- a/app/src/component/uriBar/view.js +++ b/app/src/component/uriBar/view.js @@ -101,10 +101,24 @@ class UriBar extends React.PureComponent { } let style = [uriBarStyle.overlay]; - if (this.state.focused) { + /*if (this.state.focused) { style.push(uriBarStyle.inFocus); } + {(this.state.focused && !this.state.directSearch) && ( + + item.value} + renderItem={({item}) => ( + this.handleItemPress(item)} + />)} /> + )}*/ + return ( @@ -153,19 +167,6 @@ class UriBar extends React.PureComponent { } }}/> - {(this.state.focused && !this.state.directSearch) && ( - - item.value} - renderItem={({item}) => ( - this.handleItemPress(item)} - />)} /> - )} ); } diff --git a/app/src/page/file/view.js b/app/src/page/file/view.js index 921e5c96..8b2813a4 100644 --- a/app/src/page/file/view.js +++ b/app/src/page/file/view.js @@ -591,6 +591,10 @@ class FilePage extends React.PureComponent { show={DateTime.SHOW_DATE} /> +