Removed unnecessary code

This commit is contained in:
dankito 2020-07-28 12:41:11 +02:00
parent 1440a298ba
commit 7b8a83d1fd
1 changed files with 1 additions and 7 deletions

View File

@ -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()
}