mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-11 15:29:15 +01:00
don't use i18n namespaces
there's no need to keep reloading different parts of the object we already cached
This commit is contained in:
@@ -12,7 +12,7 @@ import { createNativeStackNavigator } from 'react-native-screens/native-stack'
|
||||
const NowPlayingStack = createNativeStackNavigator()
|
||||
|
||||
const NowPlayingNavigator = withSuspense(() => {
|
||||
const { t } = useTranslation('resources.queue')
|
||||
const { t } = useTranslation()
|
||||
|
||||
return (
|
||||
<NowPlayingStack.Navigator>
|
||||
@@ -21,7 +21,7 @@ const NowPlayingNavigator = withSuspense(() => {
|
||||
name="queue"
|
||||
component={NowPlayingQueue}
|
||||
options={{
|
||||
title: t('name'),
|
||||
title: t('resources.queue.name'),
|
||||
headerStyle: {
|
||||
backgroundColor: colors.gradient.high,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user