Skip to content

Commit

Permalink
ALFMOB-40: Implemented open wish list from account
Browse files Browse the repository at this point in the history
  • Loading branch information
timea-v committed Nov 14, 2024
1 parent fc7e580 commit a87c45c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Alfie/Alfie/Views/AccountView/AccountView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,19 @@ struct AccountView<ViewModel: AccountViewModelProtocol>: View {
.withToolbar(for: .account)
}

private func navigateToSection(_: AccountSection) {}
private func navigateToSection(_ section: AccountSection) {
switch section {
case .wishlist:
coordinator.openWishlist()
case .myAddressBook,
.myDetails, // swiftlint:disable:this indentation_width
.myOrders,
.wallet,
.signOut:
// TODO: Implement in a future ticket
break
}
}
}

private enum AccessibilityId {
Expand Down

0 comments on commit a87c45c

Please sign in to comment.