Fixed that on AccountsTab NavigationBar is hidden but on child views it gets displayed
This commit is contained in:
parent
2552f0fa11
commit
0d1ecb910c
|
@ -32,6 +32,7 @@ struct AccountTransactionsDialog: View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.navigationBarTitle(Text(title), displayMode: NavigationBarItem.TitleDisplayMode.inline)
|
.navigationBarTitle(Text(title), displayMode: NavigationBarItem.TitleDisplayMode.inline)
|
||||||
|
.navigationBarHidden(false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,8 @@ struct AccountsTab: View {
|
||||||
}
|
}
|
||||||
.padding()
|
.padding()
|
||||||
}
|
}
|
||||||
.navigationBarTitle(Text(""), displayMode: .inline)
|
.navigationBarHidden(true)
|
||||||
|
.navigationBarTitle(Text("Accounts"), displayMode: .inline)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,6 +48,7 @@ struct AddAccountDialog: View {
|
||||||
Alert(title: message.title, message: message.message, dismissButton: message.primaryButton)
|
Alert(title: message.title, message: message.message, dismissButton: message.primaryButton)
|
||||||
}
|
}
|
||||||
.navigationBarTitle(Text("Add account"), displayMode: NavigationBarItem.TitleDisplayMode.inline)
|
.navigationBarTitle(Text("Add account"), displayMode: NavigationBarItem.TitleDisplayMode.inline)
|
||||||
|
.navigationBarHidden(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue