Skip to content

Commit

Permalink
docs: documented buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
KuramaSyu committed Nov 26, 2024
1 parent 3dc5729 commit 8dfa102
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DailyPic/Components/ImageNavigation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public struct ImageNavigation: View {

public var body: some View {
HStack(spacing: 3) {
// First Button
NavigationButton(
imageName: "arrow.backward.to.line",
isDisabled: imageManager.isFirstImage(),
Expand Down Expand Up @@ -77,6 +78,7 @@ public struct ImageNavigation: View {
action: {imageManager.showNextImage()}
)

// End Button
NavigationButton(
imageName: "arrow.forward.to.line",
isDisabled: imageManager.isLastImage(),
Expand Down

0 comments on commit 8dfa102

Please sign in to comment.