File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -295,7 +295,9 @@ class StatusBar extends React.Component<StatusBarProps> {
295
295
* @deprecated
296
296
*/
297
297
static setBackgroundColor ( color : ColorValue , animated ? : boolean ) : void {
298
- console . warn ( '`setBackgroundColor` is deprecated and no longer has any effect' ) ;
298
+ console . warn (
299
+ '`setBackgroundColor` is deprecated and no longer has any effect' ,
300
+ ) ;
299
301
}
300
302
301
303
/**
Original file line number Diff line number Diff line change @@ -184,11 +184,15 @@ function confirmProps(props: ModalProps) {
184
184
`Modal with '${ props . presentationStyle } ' presentation style and 'transparent' value is not supported.` ,
185
185
) ;
186
186
}
187
- if ( typeof props . statusBarTranslucent !== "undefined" ) {
188
- console . warn ( '`statusBarTranslucent` is deprecated and no longer has any effect' ) ;
187
+ if ( typeof props . statusBarTranslucent !== 'undefined' ) {
188
+ console . warn (
189
+ '`statusBarTranslucent` is deprecated and no longer has any effect' ,
190
+ ) ;
189
191
}
190
- if ( typeof props . navigationBarTranslucent !== "undefined" ) {
191
- console . warn ( '`navigationBarTranslucent` is deprecated and no longer has any effect' ) ;
192
+ if ( typeof props . navigationBarTranslucent !== 'undefined' ) {
193
+ console . warn (
194
+ '`navigationBarTranslucent` is deprecated and no longer has any effect' ,
195
+ ) ;
192
196
}
193
197
}
194
198
}
Original file line number Diff line number Diff line change @@ -1331,9 +1331,7 @@ class StatusBarTest extends React.Component {
1331
1331
1332
1332
console . log ( 'height:' , StatusBar . currentHeight ) ;
1333
1333
1334
- return (
1335
- < StatusBar barStyle = "light-content" />
1336
- ) ;
1334
+ return < StatusBar barStyle = "light-content" /> ;
1337
1335
}
1338
1336
}
1339
1337
You can’t perform that action at this time.
0 commit comments