Skip to content

Commit

Permalink
invert button styling for custom url (#1300)
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobJaffe authored Jul 21, 2020
1 parent 0c9f52a commit eb4a568
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/views/Partners/PartnersCustomUrlScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const PartnersScreen = ({
},
]}
/>
<Button label={t('common.add')} onPress={searchForUrl} />
<Button invert label={t('common.add')} onPress={searchForUrl} />
</View>
</NavigationBarWrapper>
);
Expand Down
7 changes: 2 additions & 5 deletions app/views/Partners/PartnersEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import NoAuthoritiesMessage from '../../components/NoAuthoritiesMessage';
import FeatureFlag from '../../components/FeatureFlag';

import { Icons } from '../../assets';
import { Colors, Buttons, Spacing } from '../../styles';
import { Colors, Spacing } from '../../styles';

type PartnersEditScreenProps = {
navigation: NavigationProp;
Expand Down Expand Up @@ -122,9 +122,9 @@ const PartnersScreen = ({
<FeatureFlag flag={FeatureFlagOption.CUSTOM_URL}>
<View style={{ padding: Spacing.large }}>
<Button
invert
label={t('authorities.custom_url')}
onPress={() => navigation.navigate(Screens.PartnersCustomUrl)}
style={styles.button}
/>
</View>
</FeatureFlag>
Expand All @@ -139,8 +139,5 @@ const styles = StyleSheet.create({
alignItems: 'center',
paddingHorizontal: Spacing.xLarge,
},
button: {
...Buttons.largeBlue,
},
});
export default PartnersScreen;

0 comments on commit eb4a568

Please sign in to comment.