Search in sources :

Example 1 with StatusBarOptions

use of com.reactnativenavigation.options.StatusBarOptions in project react-native-navigation by wix.

the class Presenter method applyStatusBarOptions.

private void applyStatusBarOptions(ViewController viewController, Options options) {
    StatusBarOptions statusBar = options.copy().withDefaultOptions(defaultOptions).statusBar;
    setStatusBarBackgroundColor(statusBar);
    setTextColorScheme(statusBar);
    setTranslucent(statusBar);
    setStatusBarVisible(viewController, statusBar.visible);
}
Also used : StatusBarOptions(com.reactnativenavigation.options.StatusBarOptions)

Aggregations

StatusBarOptions (com.reactnativenavigation.options.StatusBarOptions)1