Skip to content

Commit

Permalink
Make all header buttons use the accent color (#643)
Browse files Browse the repository at this point in the history
  • Loading branch information
gkasdorf authored Jul 13, 2023
1 parent c292d6a commit f7de7ab
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/screens/Feed/components/FeedView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ function FeedView({ feed, community = false, header }: FeedViewProps) {
<Button
title="Cancel"
onPress={() => dispatch(setDropdownVisible())}
color={theme.colors.app.accent}
/>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,12 @@ function EditAccountScreen({
const accounts = useAppSelector(selectAccounts);

const headerRight = () => (
<Button title="Save" onPress={onSavePress} disabled={loading} />
<Button
title="Save"
onPress={onSavePress}
disabled={loading}
color={theme.colors.app.accent}
/>
);

useEffect(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ function ViewAccountsScreen({ navigation }: ViewAccountsScreenProps) {
);

const headerRight = () => (
<Button title="Add" onPress={() => navigation.push("EditAccount")} />
<Button
title="Add"
onPress={() => navigation.push("EditAccount")}
color={theme.colors.app.accent}
/>
);

useEffect(() => {
Expand Down

0 comments on commit f7de7ab

Please sign in to comment.