Profile UI tweaks (#1607)
* Use inverted color instead of primary color for press state * Fix: add missing border to empty statezio/stable
parent
9278822088
commit
eb7306b165
|
@ -392,8 +392,8 @@ const ProfileHeaderLoaded = observer(function ProfileHeaderLoadedImpl({
|
|||
{
|
||||
paddingHorizontal: 10,
|
||||
backgroundColor: showSuggestedFollows
|
||||
? colors.blue3
|
||||
: pal.viewLight.backgroundColor,
|
||||
? pal.colors.text
|
||||
: pal.colors.backgroundLight,
|
||||
},
|
||||
]}
|
||||
accessibilityRole="button"
|
||||
|
|
|
@ -22,7 +22,7 @@ export function EmptyState({
|
|||
}) {
|
||||
const pal = usePalette('default')
|
||||
return (
|
||||
<View testID={testID} style={[styles.container, style]}>
|
||||
<View testID={testID} style={[styles.container, pal.border, style]}>
|
||||
<View style={styles.iconContainer}>
|
||||
{icon === 'user-group' ? (
|
||||
<UserGroupIcon size="64" style={styles.icon} />
|
||||
|
@ -50,6 +50,7 @@ const styles = StyleSheet.create({
|
|||
container: {
|
||||
paddingVertical: 20,
|
||||
paddingHorizontal: 36,
|
||||
borderTopWidth: 1,
|
||||
},
|
||||
iconContainer: {
|
||||
flexDirection: 'row',
|
||||
|
|
Loading…
Reference in New Issue