fix:
1. 修复登录界面文字被遮挡问题 2. 大字模式关闭后显示异常问题 3. 重新调整大字模式是否开启时的字体显示效果
This commit is contained in:
@@ -90,11 +90,15 @@ function LanguageRow({
|
||||
<Icon as={Globe} className="text-muted-foreground" size={20} />
|
||||
<View>
|
||||
<Text className="font-medium text-foreground">{label}</Text>
|
||||
<Text className="text-sm text-muted-foreground">{description}</Text>
|
||||
<Text variant="bodySmall" className="text-muted-foreground">
|
||||
{description}
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
<View className="flex-row items-center gap-2">
|
||||
<Text className="text-sm text-muted-foreground">{currentLabel}</Text>
|
||||
<Text variant="bodySmall" className="text-muted-foreground">
|
||||
{currentLabel}
|
||||
</Text>
|
||||
<Icon as={ChevronRight} className="text-muted-foreground" size={20} />
|
||||
</View>
|
||||
</Pressable>
|
||||
@@ -120,7 +124,9 @@ function SettingRow({
|
||||
<Icon as={SettingIcon} className="text-muted-foreground" size={20} />
|
||||
<View>
|
||||
<Text className="font-medium text-foreground">{label}</Text>
|
||||
<Text className="text-sm text-muted-foreground">{description}</Text>
|
||||
<Text variant="bodySmall" className="text-muted-foreground">
|
||||
{description}
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
<Switch checked={value} onCheckedChange={onValueChange} />
|
||||
@@ -203,7 +209,7 @@ export default function ProfileScreen() {
|
||||
<Text variant="h3" className="text-foreground">
|
||||
{user?.nickname ?? t('userNamePlaceholder')}
|
||||
</Text>
|
||||
<Text className="text-sm text-muted-foreground">
|
||||
<Text variant="bodySmall" className="text-muted-foreground">
|
||||
{t('userTier', { tier: tierLabel })}
|
||||
</Text>
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user