|
@@ -40,7 +40,9 @@ const Message = ({item}) => {
|
|
|
onPress={() => setExpand(!expand)}/>
|
|
onPress={() => setExpand(!expand)}/>
|
|
|
</View>
|
|
</View>
|
|
|
{ expand &&
|
|
{ expand &&
|
|
|
- <TextView style={styles.textMessage} numberOfLines={15}>{item.pinContent}</TextView>
|
|
|
|
|
|
|
+ <ScrollView>
|
|
|
|
|
+ <TextView style={styles.textMessage} numberOfLines={15}>{item.pinContent}</TextView>
|
|
|
|
|
+ </ScrollView>
|
|
|
}
|
|
}
|
|
|
</View>
|
|
</View>
|
|
|
)
|
|
)
|
|
@@ -60,7 +62,7 @@ const styles = StyleSheet.create({
|
|
|
},
|
|
},
|
|
|
messageCard: {
|
|
messageCard: {
|
|
|
marginBottom: 16,
|
|
marginBottom: 16,
|
|
|
- maxHeight: $vw(60),
|
|
|
|
|
|
|
+ maxHeight: $vw(50),
|
|
|
overflow: "hidden",
|
|
overflow: "hidden",
|
|
|
borderRadius: 6,
|
|
borderRadius: 6,
|
|
|
backgroundColor: colorLight,
|
|
backgroundColor: colorLight,
|