Skip to content

Commit

Permalink
Change import
Browse files Browse the repository at this point in the history
  • Loading branch information
jorbuedo committed Sep 3, 2024
1 parent f249a24 commit 71021d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/wallet-mobile/src/hooks/useStatusBar.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {ThemedPalette, useTheme} from '@yoroi/theme'
import * as SystemUI from 'expo-system-ui'
import {setBackgroundColorAsync} from 'expo-system-ui'
import * as React from 'react'
import {Platform, StatusBar, StatusBarStyle} from 'react-native'

Expand Down Expand Up @@ -32,9 +32,9 @@ export const useStatusBar = (currentRouteName: string | undefined) => {
currentRouteName ?? '',
)
) {
SystemUI.setBackgroundColorAsync(color.gray_min)
setBackgroundColorAsync(color.gray_min)
} else {
SystemUI.setBackgroundColorAsync(color.bg_color_max)
setBackgroundColorAsync(color.bg_color_max)
}
}, [currentRouteName, isDark, color])
}
Expand Down

0 comments on commit 71021d9

Please sign in to comment.