Removed unnecessary code
This commit is contained in:
parent
1440a298ba
commit
7b8a83d1fd
|
@ -47,14 +47,8 @@ struct ContentView: View {
|
||||||
/* Second tab: 'New' action sheet button */
|
/* Second tab: 'New' action sheet button */
|
||||||
|
|
||||||
VStack {
|
VStack {
|
||||||
NavigationLink(destination: TransferMoneyDialog()) {
|
|
||||||
Text("Show transfer money dialog")
|
|
||||||
}
|
|
||||||
|
|
||||||
NavigationLink(destination: TransferMoneyDialog().onDisappear(perform: {
|
NavigationLink(destination: TransferMoneyDialog(), tag: 1, selection: $selectedTransferMoneyOption) {
|
||||||
NSLog("Disappearing NavigationLink") // TODO: remove
|
|
||||||
self.selectedTransferMoneyOption = 0
|
|
||||||
}), tag: 1, selection: $selectedTransferMoneyOption) {
|
|
||||||
EmptyView()
|
EmptyView()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue