[FIX] Conflicts not resolved properly on 4.18.0 (#3290)
This commit is contained in:
parent
38615cc240
commit
8ee9a8ab75
|
@ -66,21 +66,10 @@ const Header = React.memo(({
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<View style={styles.container}>
|
<View style={styles.container}>
|
||||||
<TouchableOpacity
|
|
||||||
onPress={onPress}
|
|
||||||
testID='rooms-list-header-server-dropdown-button'
|
|
||||||
>
|
|
||||||
<View style={styles.button}>
|
<View style={styles.button}>
|
||||||
<Text style={[styles.title, isFetching && styles.serverSmall, titleColorStyle, { fontSize: titleFontSize }]} numberOfLines={1}>{serverName}</Text>
|
<Text style={[styles.title, isFetching && styles.serverSmall, titleColorStyle, { fontSize: titleFontSize }]} numberOfLines={1}>{serverName}</Text>
|
||||||
<CustomIcon
|
|
||||||
name='chevron-down'
|
|
||||||
color={themes[theme].headerTintColor}
|
|
||||||
style={[showServerDropdown && styles.upsideDown]}
|
|
||||||
size={18}
|
|
||||||
/>
|
|
||||||
</View>
|
</View>
|
||||||
{subtitle ? <Text testID='rooms-list-header-server-subtitle' style={[styles.subtitle, { color: themes[theme].auxiliaryText, fontSize: subTitleFontSize }]} numberOfLines={1}>{subtitle}</Text> : null}
|
{subtitle ? <Text testID='rooms-list-header-server-subtitle' style={[styles.subtitle, { color: themes[theme].auxiliaryText, fontSize: subTitleFontSize }]} numberOfLines={1}>{subtitle}</Text> : null}
|
||||||
</TouchableOpacity>
|
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue