File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import {
13
13
} from 'react-native' ;
14
14
import memoize from 'memoize-one' ;
15
15
import { LogService } from '../../services' ;
16
- import { Colors } from '../../style' ;
16
+ import { Colors , BorderRadiuses } from '../../style' ;
17
17
import { forwardRef , asBaseComponent } from '../../commons/new' ;
18
18
import { extractAccessibilityProps } from '../../commons/modifiers' ;
19
19
import Badge , { BadgeProps } from '../badge' ;
@@ -197,17 +197,16 @@ class Avatar extends PureComponent<AvatarProps> {
197
197
height : size ,
198
198
alignItems : 'center' ,
199
199
justifyContent : 'center' ,
200
- borderRadius : size / 2
200
+ borderRadius : BorderRadiuses . br100
201
201
} ;
202
202
}
203
203
204
204
getInitialsContainer ( ) : StyleProp < ViewStyle > {
205
- const { size} = this . props ;
206
205
return {
207
206
...StyleSheet . absoluteFillObject ,
208
207
alignItems : 'center' ,
209
208
justifyContent : 'center' ,
210
- borderRadius : size / 2
209
+ borderRadius : BorderRadiuses . br100
211
210
} ;
212
211
}
213
212
You can’t perform that action at this time.
0 commit comments