Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
UjjalKar committed Mar 22, 2022
1 parent 936681a commit 2a8a149
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/StatusBar.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { StatusBarProps } from './StatusBar.types';

export default function ExpoStatusBar(props: StatusBarProps) {
const { } = props
const {} = props;
// StatusBar does nothing on web currently
return null;
}
4 changes: 2 additions & 2 deletions src/StatusBar.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export type StatusBarProps = {
* Sets the color of the status bar text. Default value is `"default"` which
* @default 'default'
*/
barStyle?: StatusBarStyle;
barStyle?: StatusBarStyle;

/**
* If the transition between status bar property changes should be
Expand Down Expand Up @@ -47,4 +47,4 @@ export type StatusBarProps = {
* @platform android
*/
translucent?: boolean;
};
};
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ export { default as setStatusBarNetworkActivityIndicatorVisible } from './setSta
export { default as setStatusBarHidden } from './setStatusBarHidden';
export { default as setStatusBarStyle } from './setStatusBarStyle';
export { default as setStatusBarTranslucent } from './setStatusBarTranslucent';
export { default as StatusBar } from './StatusBar';
export { default as StatusBar } from './StatusBar';
9 changes: 5 additions & 4 deletions src/setStatusBarNetworkActivityIndicatorVisible.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@

import RnStatusBar from './RNStatusBar';

/**
* Toggle visibility of the network activity indicator.
* @param visible If the network activity indicator should be visible.
* @platform ios
*/
export default function setStatusBarNetworkActivityIndicatorVisible(visible: boolean) {
RnStatusBar.setNetworkActivityIndicatorVisible(visible);
}
export default function setStatusBarNetworkActivityIndicatorVisible(
visible: boolean
) {
RnStatusBar.setNetworkActivityIndicatorVisible(visible);
}

0 comments on commit 2a8a149

Please sign in to comment.