just use stack navigationview
it seems less buggy Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -43,6 +43,12 @@ struct ThreadView: View {
|
||||
is_chatroom = !is_chatroom
|
||||
//print("is_chatroom: \(is_chatroom)")
|
||||
}
|
||||
.onAppear() {
|
||||
thread.subscribe()
|
||||
}
|
||||
.onDisappear() {
|
||||
thread.unsubscribe()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user