Skip to content

Commit

Permalink
removed NavigationView from ProfileView
Browse files Browse the repository at this point in the history
  • Loading branch information
MysteryCoder456 committed Sep 6, 2020
1 parent 5895829 commit a06f338
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions VegieMato/OtherViews/ProfileView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,8 @@ struct ProfileView: View {
Text(user?.displayName ?? "No Username Provided")
.font(.title)

NavigationView {
List(vendorRepo.userOwnedVendors) { vendor in
VendorRow(vendor: vendor)
}
.navigationBarTitle(Text("Vendors Owned by You"), displayMode: .inline)
List(vendorRepo.userOwnedVendors) { vendor in
VendorRow(vendor: vendor)
}
}
.padding(.top, -25.0)
Expand Down

0 comments on commit a06f338

Please sign in to comment.