FIX: Add dark color to status bar on main view

This commit is contained in:
ncoelho 2020-05-22 13:04:37 +02:00 committed by Overtorment
parent 44033b473d
commit fcfe03ae38

View File

@ -1,5 +1,5 @@
import React, { Component } from 'react';
import { View, TouchableOpacity, Text, StyleSheet, InteractionManager, RefreshControl, SectionList, Alert, Platform } from 'react-native';
import { StatusBar, View, TouchableOpacity, Text, StyleSheet, InteractionManager, RefreshControl, SectionList, Alert, Platform } from 'react-native';
import { BlueScanButton, WalletsCarousel, BlueHeaderDefaultMain, BlueTransactionListItem } from '../../BlueComponents';
import { Icon } from 'react-native-elements';
import { NavigationEvents } from 'react-navigation';
@ -464,6 +464,7 @@ export default class WalletsList extends Component {
<View style={{ flex: 1 }}>
<NavigationEvents
onDidFocus={() => {
StatusBar.setBarStyle('dark-content');
this.redrawScreen();
}}
/>