From e3270f5ef4bf709fd14d8b56b42b5cdc5bec535f Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Mon, 16 Sep 2019 05:30:59 -0500 Subject: [PATCH] Added vibrant selection to Account navigation links --- iOS/Settings/SettingsView.swift | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/iOS/Settings/SettingsView.swift b/iOS/Settings/SettingsView.swift index 219a231eb..cbdfe2910 100644 --- a/iOS/Settings/SettingsView.swift +++ b/iOS/Settings/SettingsView.swift @@ -39,16 +39,24 @@ struct SettingsView : View { } } + @State private var accountAction: Int? = nil + func buildAccountsSection() -> some View { Section(header: Text("ACCOUNTS").padding(.top, 22.0)) { - ForEach(viewModel.accounts) { account in - NavigationLink(destination: SettingsDetailAccountView(viewModel: SettingsDetailAccountView.ViewModel(account))) { - Text(verbatim: account.nameForDisplay) + ForEach(0..