FIX: status bar disappears #311

This commit is contained in:
Marcos Rodriguez Vélez 2019-02-14 00:21:55 -05:00 committed by Igor Korsakov
parent 1f1d969bd5
commit e1ce8f8d35
2 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import {
ActivityIndicator,
View,
TextInput,
StatusBar,
TouchableOpacity,
KeyboardAvoidingView,
Keyboard,
@ -133,6 +134,7 @@ export default class SendDetails extends Component {
};
async componentDidMount() {
StatusBar.setBarStyle('dark-content');
this.keyboardDidShowListener = Keyboard.addListener('keyboardDidShow', this._keyboardDidShow);
this.keyboardDidHideListener = Keyboard.addListener('keyboardDidHide', this._keyboardDidHide);
try {

View File

@ -302,6 +302,7 @@ export default class WalletTransactions extends Component {
this.refreshFunction();
}}
onWillBlur={() => this.onWillBlur()}
onDidFocus={() => StatusBar.setBarStyle('light-content')}
/>
{this.renderWalletHeader()}
<View style={{ flex: 1, backgroundColor: '#FFFFFF' }}>