From 19437a0bc68f071a1c7ad5b479f98d859d10efb1 Mon Sep 17 00:00:00 2001 From: Artem Lytkin <146867384+4RH1T3CT0R7@users.noreply.github.com> Date: Thu, 2 Apr 2026 19:37:08 +0300 Subject: [PATCH] fix: pass environmentObject to people sheet to prevent PM reopen crash (#1069) Co-authored-by: jack <212554440+jackjackbits@users.noreply.github.com> --- bitchat/Views/ContentView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/bitchat/Views/ContentView.swift b/bitchat/Views/ContentView.swift index fb2dc85e..78c2316b 100644 --- a/bitchat/Views/ContentView.swift +++ b/bitchat/Views/ContentView.swift @@ -194,6 +194,7 @@ struct ContentView: View { ) ) { peopleSheetView + .environmentObject(viewModel) } .sheet(isPresented: $showAppInfo) { AppInfoView()