Skip to content

Commit

Permalink
style tweak: label sections instead of h2 in programs
Browse files Browse the repository at this point in the history
  • Loading branch information
michalparkola committed Sep 25, 2024
1 parent d75a87e commit 98c796c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions screens/programs/Program.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default function Program({ programId }: ProgramProps) {

return (
<ScrollView style={{ marginHorizontal: 12 }}>
<Text style={gs.h2}>Program Title</Text>
<Text style={gs.label}>Program Title</Text>
{isEditingTitle ? (
<View style={{ backgroundColor: "white", padding: 5 }}>
<TextInput
Expand Down Expand Up @@ -146,7 +146,7 @@ export default function Program({ programId }: ProgramProps) {
{program.title}
</Text>
)}
<Text style={gs.h2}>Description</Text>
<Text style={gs.label}>Description</Text>
{isEditingDescription ? (
<View style={{ backgroundColor: "white", padding: 5 }}>
<TextInput
Expand Down Expand Up @@ -193,7 +193,7 @@ export default function Program({ programId }: ProgramProps) {
{program.description}
</Text>
)}
<Text style={gs.h2}>Shelved</Text>
<Text style={gs.label}>Shelved</Text>
<Switch
style={{ margin: 12 }}
value={isShelved}
Expand All @@ -202,7 +202,7 @@ export default function Program({ programId }: ProgramProps) {
handleIsShelvedSwitch(value);
}}
/>
<Text style={gs.h2}>Activities</Text>
<Text style={gs.label}>Activities</Text>
<View style={{ flexGrow: 0 }}>
<FlatList
style={{ margin: 12 }}
Expand Down

0 comments on commit 98c796c

Please sign in to comment.