This commit is contained in:
spaced4ndy
2024-05-01 20:09:06 +04:00
parent 1d1b3234bb
commit d92a1a4ae3
+11 -13
View File
@@ -28,20 +28,18 @@ struct ChatsView: View {
}
private var viewBody: some View {
ZStack {
NavStackCompat(
isActive: Binding(
get: { chatModel.chatId != nil },
set: { _ in }
),
destination: chatView
) {
VStack {
if chatModel.chats.isEmpty {
onboardingButtons()
}
chatsView
NavStackCompat(
isActive: Binding(
get: { chatModel.chatId != nil },
set: { _ in }
),
destination: chatView
) {
VStack {
if chatModel.chats.isEmpty {
onboardingButtons()
}
chatsView
}
}
}