From 1637b8dfa0826c1ad25d2cbf2db109abe210fe22 Mon Sep 17 00:00:00 2001 From: Djorkaeff Alexandre Date: Mon, 18 May 2020 12:28:17 -0300 Subject: [PATCH] [FIX] Return promise when changeNavigationBarColor --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index eeab32f..d4d8a2c 100644 --- a/src/index.js +++ b/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 = () => {