Switch user back to observedobject

This commit is contained in:
Garth Vander Houwen 2023-09-04 06:31:38 -07:00
parent 4cabf05a5a
commit c8103e91c2

View file

@ -23,7 +23,7 @@ struct UserMessageList: View {
var maxbytes = 228
@FocusState var focusedField: Field?
// View State Items
@StateObject var user: UserEntity
@ObservedObject var user: UserEntity
@State var showDeleteMessageAlert = false
@State private var deleteMessageId: Int64 = 0
@State private var replyMessageId: Int64 = 0