mirror of
https://github.com/status-im/react-native-navbar-color.git
synced 2025-02-28 08:50:40 +00:00
v1.0.2
This commit is contained in:
parent
8195617a99
commit
81213d8aa9
4
index.js
4
index.js
@ -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') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user