diff --git a/NucleicRemote/NucleicRemote/Views/SettingsView.swift b/NucleicRemote/NucleicRemote/Views/SettingsView.swift index 2e95b09..bba953b 100644 --- a/NucleicRemote/NucleicRemote/Views/SettingsView.swift +++ b/NucleicRemote/NucleicRemote/Views/SettingsView.swift @@ -183,6 +183,9 @@ struct SettingsView: View { store.pair(with: payload) } } + .sheet(isPresented: $showAddDevice, onDismiss: { store.cancelPairingCode() }) { + AddDeviceView() + } } }