This commit is contained in:
Bhavan 2018-03-15 18:39:07 +05:30
parent 8195617a99
commit 81213d8aa9

View File

@ -14,7 +14,9 @@ module.exports = {
}
},
setStatusBarColor: (color, animation) => {
return StatusBar.setBackgroundColor(color, animation);
if (Platform.OS == 'android') {
return StatusBar.setBackgroundColor(color, animation);
}
},
setStatusBarTheme: (theme, animation) => {
if (theme == 'light') {