iOS: fix Fatal error: No Observable object of type NodeAppModel in Settings sheet

This commit is contained in:
Emanuel Stadler 2026-02-16 00:31:58 +01:00 committed by Mariano Belinky
parent ff3f90af97
commit ee11388e38
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,9 @@ struct RootCanvas: View {
switch sheet {
case .settings:
SettingsTab()
.environment(self.appModel)
.environment(self.appModel.voiceWake)
.environment(self.gatewayController)
case .chat:
ChatSheet(
// Mobile chat UI should use the node role RPC surface (chat.* / sessions.*)