Closed Joshmatjjen closed 3 years ago
Any time the dropdownAlert shows, set change the current statusbar color of the app after closing
[FILL THIS OUT]
<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); }} />
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