修改自动字体大小

This commit is contained in:
lyswhut 2023-06-04 17:12:01 +08:00
parent bd700ccda1
commit 1194d37a2d
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ export default ({ item, activeId, index, longPressIndex, onBoundChange, onShowMe
? <Icon style={styles.listActiveIcon} name="chevron-right" size={12} color={theme['c-primary-font']} />
: null
}
<Text style={styles.listName} size={13} textBreakStrategy="simple" color={active ? theme['c-primary-font-active'] : theme['c-font']} numberOfLines={1}>{item.name}</Text>
<Text style={styles.listName} size={14} textBreakStrategy="simple" color={active ? theme['c-primary-font-active'] : theme['c-font']} numberOfLines={1}>{item.name}</Text>
</Button>
)
}

View File

@ -19,7 +19,7 @@ import { handleCollect, handlePlay } from '../listAction'
import boardState from '@/store/leaderboard/state'
const MAX_WIDTH = scaleSizeW(180)
const MAX_WIDTH = scaleSizeW(200)
export default () => {
const drawer = useRef<DrawerLayoutFixedType>(null)