mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-03 14:52:09 +08:00
修复播放栏标题过长不会自动隐藏的问题
This commit is contained in:
parent
1b6263bc19
commit
e9c45421fc
@ -43,8 +43,8 @@ export default () => {
|
|||||||
}, [downloadFileName, playMusicInfo])
|
}, [downloadFileName, playMusicInfo])
|
||||||
// console.log(playMusicInfo)
|
// console.log(playMusicInfo)
|
||||||
return (
|
return (
|
||||||
<TouchableOpacity onLongPress={handleLongPress} onPress={handlePress} activeOpacity={0.7} >
|
<TouchableOpacity style={{ width: '100%' }} onLongPress={handleLongPress} onPress={handlePress} activeOpacity={0.7} >
|
||||||
<Text style={{ width: '100%', fontSize: 14, color: theme.normal }} numberOfLines={1}>{title}</Text>
|
<Text style={{ fontSize: 14, color: theme.normal }} numberOfLines={1}>{title}</Text>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -30,8 +30,8 @@ export default () => {
|
|||||||
}, [downloadFileName, playMusicInfo])
|
}, [downloadFileName, playMusicInfo])
|
||||||
// console.log(playMusicInfo)
|
// console.log(playMusicInfo)
|
||||||
return (
|
return (
|
||||||
<TouchableOpacity onPress={handlePress} activeOpacity={0.7} >
|
<TouchableOpacity style={{ width: '100%' }} onPress={handlePress} activeOpacity={0.7} >
|
||||||
<Text style={{ width: '100%', fontSize: 14, color: theme.normal }} numberOfLines={1}>{title}</Text>
|
<Text style={{ fontSize: 14, color: theme.normal }} numberOfLines={1}>{title}</Text>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user