1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Test release

Added screenshot package
This commit is contained in:
Zhiyuan Zheng
2021-02-05 01:13:57 +01:00
parent d7d41a44c3
commit 29f2bf7457
26 changed files with 179 additions and 109 deletions

View File

@ -33,7 +33,7 @@ const ComponentInstance: React.FC<Props> = ({
disableHeaderImage,
goBack = false
}) => {
const { t } = useTranslation('componentInstance')
const { t, i18n } = useTranslation('componentInstance')
const { theme } = useTheme()
const navigation = useNavigation()
@ -136,7 +136,7 @@ const ComponentInstance: React.FC<Props> = ({
case 'remote':
return t('server.button.remote')
}
}, [])
}, [i18n.language])
const requestAuth = useMemo(() => {
if (