Skip to content

Commit 55273f9

Browse files
committed
prettify
1 parent 941f6a0 commit 55273f9

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

source/views/settings/screens/overview/odds-and-ends.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,5 @@ function NotificationsCell(props: NotificationsCellProps) {
8282
}
8383

8484
const ConnectedNotificationsCell = connect((state: ReduxState) => ({
85-
isSubscribed: state.notifications
86-
? state.notifications.enabled
87-
: false,
85+
isSubscribed: state.notifications ? state.notifications.enabled : false,
8886
}))(NotificationsCell)

source/views/settings/screens/push-notifications/on-resume.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ class _CheckForPushSettingsOnResume extends React.Component<Props, State> {
2929
handleAppStateChange = (nextAppState: string) => {
3030
let {appState: currentAppState} = this.state
3131

32-
let shouldRehydrate = currentAppState !== 'active' && nextAppState === 'active'
32+
let shouldRehydrate =
33+
currentAppState !== 'active' && nextAppState === 'active'
3334

3435
if (shouldRehydrate) {
3536
this.props.rehydrate()

0 commit comments

Comments
 (0)