Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Schmiedmayer <[email protected]>
  • Loading branch information
nriedman and PSchmiedmayer authored Apr 6, 2024
1 parent 905541a commit 14f0799
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ENGAGEHF/Dashboard/Dashboard.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct Dashboard: View {
}
.navigationTitle("Home")
.toolbar {
ToolbarItem(placement: .topBarTrailing) {
if AccountButton.shouldDisplay {
AccountButton(isPresented: $presentingAccount)
}
}
Expand Down
3 changes: 1 addition & 2 deletions ENGAGEHF/Dashboard/Greeting.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ struct Greeting: View {
}
}

#if DEBUG

#Preview {
Greeting()
}
#endif

0 comments on commit 14f0799

Please sign in to comment.