fix: contentInset doesn't behave on Android

This commit is contained in:
Lei Nelissen
2023-04-23 01:25:43 +02:00
parent 6ccfd19dea
commit 1d97830f83
5 changed files with 5 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ export function SettingsList() {
const handleSentryClick = useCallback(() => { navigation.navigate('Sentry'); }, [navigation]);
return (
<ScrollView contentInset={{ top: headerHeight }}>
<ScrollView contentContainerStyle={{ paddingTop: headerHeight }}>
<ListButton onPress={handleLibraryClick}>{t('jellyfin-library')}</ListButton>
<ListButton onPress={handleCacheClick}>{t('setting-cache')}</ListButton>
<ListButton onPress={handleSentryClick}>{t('error-reporting')}</ListButton>