Fixed repost turning green too early and not reposting sometimes
Changelog-Fixed: Fixed repost turning green too early and not reposting sometimes
This commit is contained in:
@@ -142,8 +142,10 @@ struct EventActionBar: View {
|
||||
}
|
||||
|
||||
let boost = make_boost_event(pubkey: damus_state.keypair.pubkey, privkey: privkey, boosted: self.event)
|
||||
|
||||
self.bar.our_boost = boost
|
||||
|
||||
// As we will still have to wait for the confirmation from alert for repost, we do not turn it green yet.
|
||||
// However, turning green handled from EventActionBar spontaneously once reposted
|
||||
// self.bar.our_boost = boost
|
||||
|
||||
notify(.boost, boost)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user