just use stack navigationview

it seems less buggy

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2022-04-30 12:15:44 -07:00
parent ee32c50fb9
commit 403fa74f8d
5 changed files with 10 additions and 5 deletions

View File

@@ -43,6 +43,12 @@ struct ThreadView: View {
is_chatroom = !is_chatroom
//print("is_chatroom: \(is_chatroom)")
}
.onAppear() {
thread.subscribe()
}
.onDisappear() {
thread.unsubscribe()
}
}
}