layout
This commit is contained in:
parent
49cc76d4ff
commit
382ac4cdd0
@ -140,7 +140,8 @@ struct NewChatView: View {
|
||||
}
|
||||
}
|
||||
|
||||
@ViewBuilder private func prepareAndInviteView() -> some View {
|
||||
private func prepareAndInviteView() -> some View {
|
||||
ZStack { // ZStack is needed for views to not make transitions between each other
|
||||
if connReqInvitation != "" {
|
||||
InviteView(
|
||||
invitationUsed: $invitationUsed,
|
||||
@ -153,6 +154,7 @@ struct NewChatView: View {
|
||||
retryButton()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private func createInvitation(_ selection: NewChatOption) {
|
||||
if case .invite = selection,
|
||||
@ -188,7 +190,7 @@ struct NewChatView: View {
|
||||
Button {
|
||||
createInvitation(selection)
|
||||
} label: {
|
||||
VStack {
|
||||
VStack(spacing: 6) {
|
||||
Image(systemName: "arrow.counterclockwise")
|
||||
Text("Retry")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user