Add network connect call to extensions
This commit fixes a regression on the highlighter and share extensions, which was caused by a change in the code's architecture, which required the network manager to be initialized. Fixes: 8d48f77d95138c93ed93989989fa930b61c2d6fb Closes: https://github.com/damus-io/damus/issues/2955 Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
This commit is contained in:
@@ -135,6 +135,7 @@ struct ShareExtensionView: View {
|
||||
return
|
||||
}
|
||||
self.state = DamusState(keypair: keypair)
|
||||
self.state?.nostrNetwork.connect()
|
||||
})
|
||||
.onChange(of: self.highlighter_state) {
|
||||
if case .cancelled = highlighter_state {
|
||||
|
||||
Reference in New Issue
Block a user