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:
@@ -250,6 +250,7 @@ struct ShareExtensionView: View {
|
||||
return false
|
||||
}
|
||||
state = DamusState(keypair: keypair)
|
||||
state?.nostrNetwork.connect()
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user