|
|
@@ -9,6 +9,7 @@ import utils from '../../utils/utils';
|
|
|
import ConnectType from './ConnectType';
|
|
|
import app from '../../../app.json';
|
|
|
import Button from '../../components/Button';
|
|
|
+import SiteLabelView from '../../components/SiteLabelView';
|
|
|
|
|
|
export default ListViewV2 = ({item, index, separators, onPress, onFavorite}) => {
|
|
|
if (item.id) {
|
|
|
@@ -89,7 +90,7 @@ export default ListViewV2 = ({item, index, separators, onPress, onFavorite}) =>
|
|
|
}
|
|
|
{ utils.isNotEmpty(item?.labels) &&
|
|
|
item?.labels.map((label, idx) =>
|
|
|
- <TextView key={idx} style={[styles.infoStatus, styles.labels]}>{label}</TextView>
|
|
|
+ <SiteLabelView {...label} key={idx}/>
|
|
|
)
|
|
|
}
|
|
|
</View>
|
|
|
@@ -173,11 +174,6 @@ const styles = StyleSheet.create({
|
|
|
color: '#FDB702',
|
|
|
borderColor: '#FDB702'
|
|
|
},
|
|
|
- labels: {
|
|
|
- color: colorLight,
|
|
|
- borderColor: colorPrimary,
|
|
|
- backgroundColor: colorPrimary
|
|
|
- },
|
|
|
connectView: {
|
|
|
paddingTop: 4,
|
|
|
paddingBottom: 8,
|