|
|
@@ -130,6 +130,8 @@ export const useStyles = ({
|
|
|
width: currentSize.size
|
|
|
} as Mutable<ViewStyle>,
|
|
|
image: {
|
|
|
+ borderColor: borderColor && borderColor !== "transparent" ? colors.content.border[borderColor] : avatarBackgroundColor ? colors.content.container[avatarBackgroundColor] : "transparent",
|
|
|
+ borderRadius: currentSize.size / 2,
|
|
|
height: currentSize.size,
|
|
|
width: currentSize.size
|
|
|
} as Mutable<ImageStyle>,
|
|
|
@@ -146,6 +148,7 @@ export const useStyles = ({
|
|
|
|
|
|
if(isShowBorder) {
|
|
|
styles.container.borderWidth = borders.subtract;
|
|
|
+ styles.image.borderWidth = borders.subtract;
|
|
|
}
|
|
|
|
|
|
if(!title && !image && !imageUrl && !backgroundColor) {
|