Skip to content

Commit

Permalink
chore: add arrow to header section
Browse files Browse the repository at this point in the history
  • Loading branch information
eyatsenkoperpetio committed Dec 11, 2023
1 parent bc6dcd1 commit 3ed826a
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ struct CourseExpandableContentView: View {
.lineLimit(1)
.foregroundColor(Theme.Colors.textPrimary)
Spacer()
if isExpanded {
Image(systemName: "chevron.right")
.foregroundColor(Theme.Colors.accentColor)
.rotationEffect(.degrees(90))
} else {
Image(systemName: "chevron.right")
.foregroundColor(Theme.Colors.accentColor)
}
}
.padding(.horizontal, 30)
.padding(.vertical, 15)
Expand Down

0 comments on commit 3ed826a

Please sign in to comment.