From 10f2ba06094581a35bca70b4cf4215c579e89950 Mon Sep 17 00:00:00 2001 From: Djorkaeff Alexandre Date: Mon, 18 May 2020 12:29:19 -0300 Subject: [PATCH] [FIX] Change bar color while no activity attached --- .../react-native-navigation-bar-color+2.0.1.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/react-native-navigation-bar-color+2.0.1.patch diff --git a/patches/react-native-navigation-bar-color+2.0.1.patch b/patches/react-native-navigation-bar-color+2.0.1.patch new file mode 100644 index 00000000000..9dc5546df30 --- /dev/null +++ b/patches/react-native-navigation-bar-color+2.0.1.patch @@ -0,0 +1,13 @@ +diff --git a/node_modules/react-native-navigation-bar-color/src/index.js b/node_modules/react-native-navigation-bar-color/src/index.js +index eeab32f..d4d8a2c 100644 +--- a/node_modules/react-native-navigation-bar-color/src/index.js ++++ b/node_modules/react-native-navigation-bar-color/src/index.js +@@ -9,7 +9,7 @@ const changeNavigationBarColor = ( + ) => { + if (Platform.OS === 'android') { + const LightNav = light ? true : false; +- NavigationBarColor.changeNavigationBarColor(color, LightNav, animated); ++ return NavigationBarColor.changeNavigationBarColor(color, LightNav, animated); + } + }; + const hideNavigationBar = () => {