boosts: always register boost, add confirmation

Changelog-Added: Add boost confirmation alert
Changelog-Fixed: Fixed boosts sometimes not registering after click
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2022-06-18 12:39:03 -07:00
parent ebce5c4c2e
commit 4d68621530
4 changed files with 43 additions and 20 deletions
+1 -5
View File
@@ -114,11 +114,7 @@ struct ChatView: View {
if is_active || next_ev == nil || next_ev!.pubkey != event.pubkey {
let bar = make_actionbar_model(ev: event, damus: damus)
EventActionBar(event: event,
keypair: damus.keypair,
profiles: damus.profiles,
bar: bar
)
EventActionBar(damus_state: damus, event: event, bar: bar)
}
//Spacer()