diff --git a/app/src/component/uriBar/view.js b/app/src/component/uriBar/view.js index eae95545..d46b5e6e 100644 --- a/app/src/component/uriBar/view.js +++ b/app/src/component/uriBar/view.js @@ -45,12 +45,20 @@ class UriBar extends React.PureComponent { } handleItemPress = (item) => { - const { navigation, updateSearchQuery } = this.props; + const { navigation, onSearchSubmitted, updateSearchQuery } = this.props; const { type, value } = item; Keyboard.dismiss(); if (SEARCH_TYPES.SEARCH === type) { + this.setState({ currentValue: value }); + updateSearchQuery(value); + + if (onSearchSubmitted) { + onSearchSubmitted(value); + return; + } + navigation.navigate({ routeName: 'Search', key: 'searchPage', params: { searchQuery: value }}); } else { const uri = normalizeURI(value); diff --git a/app/src/page/settings/view.js b/app/src/page/settings/view.js index 101e0738..2870bb30 100644 --- a/app/src/page/settings/view.js +++ b/app/src/page/settings/view.js @@ -46,7 +46,7 @@ class SettingsPage extends React.PureComponent { - Keep the daemon background service running when the app is suspended. + Keep the daemon background service running after closing the app Enable this option for quicker app launch and to keep the synchronisation with the blockchain up to date. diff --git a/app/src/styles/settings.js b/app/src/styles/settings.js index 68eec628..6b6739ef 100644 --- a/app/src/styles/settings.js +++ b/app/src/styles/settings.js @@ -25,12 +25,14 @@ const settingsStyle = StyleSheet.create({ }, label: { fontSize: 14, - fontFamily: 'Metropolis-Regular' + fontFamily: 'Metropolis-Regular', + lineHeight: 18 }, description: { + color: '#aaaaaa', fontSize: 12, fontFamily: 'Metropolis-Regular', - color: '#aaaaaa' + lineHeight: 18 } });