2021-10-01 18:12:19 +00:00
|
|
|
import { I18nManager, StyleSheet } from 'react-native';
|
2019-03-29 19:36:07 +00:00
|
|
|
|
2021-10-01 18:12:19 +00:00
|
|
|
import { PADDING_HORIZONTAL } from '../../containers/List/constants';
|
2019-03-29 19:36:07 +00:00
|
|
|
import sharedStyles from '../Styles';
|
2018-02-19 21:19:39 +00:00
|
|
|
|
|
|
|
export default StyleSheet.create({
|
2020-10-30 13:59:44 +00:00
|
|
|
roomInfoContainer: {
|
|
|
|
paddingHorizontal: PADDING_HORIZONTAL,
|
2018-02-19 21:19:39 +00:00
|
|
|
flexDirection: 'row',
|
|
|
|
alignItems: 'center'
|
|
|
|
},
|
|
|
|
avatar: {
|
2020-10-30 13:59:44 +00:00
|
|
|
marginRight: PADDING_HORIZONTAL
|
2018-02-19 21:19:39 +00:00
|
|
|
},
|
|
|
|
roomTitleContainer: {
|
|
|
|
flex: 1
|
|
|
|
},
|
|
|
|
roomTitle: {
|
2019-03-29 19:36:07 +00:00
|
|
|
fontSize: 16,
|
|
|
|
...sharedStyles.textMedium
|
2018-02-19 21:19:39 +00:00
|
|
|
},
|
|
|
|
roomDescription: {
|
2019-03-29 19:36:07 +00:00
|
|
|
fontSize: 13,
|
|
|
|
...sharedStyles.textRegular
|
2018-08-31 16:46:33 +00:00
|
|
|
},
|
|
|
|
roomTitleRow: {
|
2020-05-08 17:09:36 +00:00
|
|
|
paddingRight: 16,
|
2018-08-31 16:46:33 +00:00
|
|
|
flexDirection: 'row',
|
|
|
|
alignItems: 'center'
|
2020-11-30 21:47:05 +00:00
|
|
|
},
|
|
|
|
actionIndicator: {
|
2021-10-01 18:12:19 +00:00
|
|
|
...(I18nManager.isRTL ? { transform: [{ rotate: '180deg' }] } : {})
|
2018-02-19 21:19:39 +00:00
|
|
|
}
|
|
|
|
});
|