Fix up drawer background (#5785)

This commit is contained in:
Eric Bailey
2024-10-17 09:35:33 -05:00
committed by GitHub
parent 34f1e4d71c
commit 444c6e6a9f
3 changed files with 27 additions and 8 deletions
+2 -3
View File
@@ -22,8 +22,7 @@ import {useSetDrawerOpen} from '#/state/shell'
import {formatCount} from '#/view/com/util/numeric/format'
import {UserAvatar} from '#/view/com/util/UserAvatar'
import {NavSignupCard} from '#/view/shell/NavSignupCard'
import {atoms as a} from '#/alf'
import {useTheme} from '#/alf'
import {atoms as a, useTheme, web} from '#/alf'
import {Button, ButtonIcon, ButtonText} from '#/components/Button'
import {Divider} from '#/components/Divider'
import {
@@ -629,7 +628,7 @@ function MenuItem({
) : undefined}
</View>
<Text
style={[a.flex_1, a.text_2xl, bold && a.font_bold]}
style={[a.flex_1, a.text_2xl, bold && a.font_bold, web(a.leading_snug)]}
numberOfLines={1}>
{label}
</Text>