mirror of
https://github.com/status-im/react-native-navbar-color.git
synced 2025-03-01 01:10:37 +00:00
v1.0.2
This commit is contained in:
parent
8195617a99
commit
81213d8aa9
2
index.js
2
index.js
@ -14,7 +14,9 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
setStatusBarColor: (color, animation) => {
|
setStatusBarColor: (color, animation) => {
|
||||||
|
if (Platform.OS == 'android') {
|
||||||
return StatusBar.setBackgroundColor(color, animation);
|
return StatusBar.setBackgroundColor(color, animation);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
setStatusBarTheme: (theme, animation) => {
|
setStatusBarTheme: (theme, animation) => {
|
||||||
if (theme == 'light') {
|
if (theme == 'light') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user