Limit room name to 30 on EncryptedRoom
This commit is contained in:
parent
2d69337696
commit
6702893944
|
@ -40,7 +40,7 @@ export const EncryptedRoom = ({
|
|||
<View style={styles.icon}>
|
||||
<CustomIcon name='encrypted' size={42} color={colors.fontSecondaryInfo} />
|
||||
</View>
|
||||
<Text style={styles.title}>{I18n.t('encrypted_room_title', { room_name: `${roomName}` })}</Text>
|
||||
<Text style={styles.title}>{I18n.t('encrypted_room_title', { room_name: roomName.slice(0, 30) })}</Text>
|
||||
<Text style={styles.description}>{I18n.t('encrypted_room_description')}</Text>
|
||||
</View>
|
||||
<Button title={I18n.t('Enter_E2EE_Password')} onPress={navigate} />
|
||||
|
|
Loading…
Reference in New Issue