From 7b8a83d1fdb8eaf9d1ad95458ca1a5dee835a3aa Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 28 Jul 2020 12:41:11 +0200 Subject: [PATCH] Removed unnecessary code --- ui/BankingiOSApp/BankingiOSApp/ContentView.swift | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ui/BankingiOSApp/BankingiOSApp/ContentView.swift b/ui/BankingiOSApp/BankingiOSApp/ContentView.swift index b42e2a8d..c67e9ba3 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ContentView.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ContentView.swift @@ -47,14 +47,8 @@ struct ContentView: View { /* Second tab: 'New' action sheet button */ VStack { - NavigationLink(destination: TransferMoneyDialog()) { - Text("Show transfer money dialog") - } - NavigationLink(destination: TransferMoneyDialog().onDisappear(perform: { - NSLog("Disappearing NavigationLink") // TODO: remove - self.selectedTransferMoneyOption = 0 - }), tag: 1, selection: $selectedTransferMoneyOption) { + NavigationLink(destination: TransferMoneyDialog(), tag: 1, selection: $selectedTransferMoneyOption) { EmptyView() }