1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Ready for push feature

This commit is contained in:
Zhiyuan Zheng
2021-03-04 01:03:53 +01:00
parent a4a6e9316b
commit cc02626adb
17 changed files with 255 additions and 135 deletions

View File

@ -56,8 +56,7 @@ const displayMessage = ({
onPress,
...(mode &&
type && {
renderFlashMessageIcon: props => {
console.log(props)
renderFlashMessageIcon: () => {
return (
<Icon
name={iconMapping[type]}
@ -92,7 +91,7 @@ const Message = React.memo(
...StyleConstants.FontStyle.M,
fontWeight: StyleConstants.Font.Weight.Bold
}}
textStyle={{ color: theme.primary, ...StyleConstants.FontStyle.M }}
textStyle={{ color: theme.primary, ...StyleConstants.FontStyle.S }}
// @ts-ignore
textProps={{ numberOfLines: 2 }}
/>