testshallpass / react-native-dropdownalert

An alert to notify users about an error or something else
MIT License
1.85k stars 252 forks source link

DropdownAlert removing the StatusBar Color #235

Closed Joshmatjjen closed 3 years ago

Joshmatjjen commented 3 years ago

Short Description

Any time the dropdownAlert shows, set change the current statusbar color of the app after closing

Steps to Reproduce / Code Snippets / Usage

[FILL THIS OUT]

Expected Results

<DropdownAlert ref={(ref) => setDropDown( ref, pingTimeout, 'success', 'Connected', 'Internet is connected', ) } onCancel={() => { StatusBar.setBarStyle(barStyle); StatusBar.setBackgroundColor(color); }} // inactiveStatusBarStyle="light-content" onClose={() => { StatusBar.setBarStyle(barStyle); StatusBar.setBackgroundColor(color); }} />

Additional Information