Skip to content

Commit

Permalink
feat: ✨ add menu to exercise list detail view (#64)
Browse files Browse the repository at this point in the history
feat: add menu to exercise list detail view
  • Loading branch information
Drag0ndust authored Oct 16, 2024
1 parent 52c5944 commit fca14ed
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,19 @@ struct ExerciseListDetailView: View {
}
}
}
.toolbar {
ToolbarItem(placement: .primaryAction) {
Menu("Menu", systemImage: "note.text") {
Button {} label: {
Text("Alphabetical")
}

Button {} label: {
Text("Last Completed")
}
}
}
}
.navigationTitle(Text(exerciseList.name))
}
}
Expand Down

0 comments on commit fca14ed

Please sign in to comment.