Fix onboarding crash
This commit fixes a crash that occurred when clicking "follow all" during onboarding. This fix works by making `Contacts` and `PostBox` isolated into a specific Swift Actor, and updating direct and indirect usages accordingly. Changelog-Fixed: Fixed a crash that occurred when clicking "follow all" during onboarding. Closes: https://github.com/damus-io/damus/issues/3422 Co-authored-by: alltheseas <64376233+alltheseas@users.noreply.github.com> Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
This commit is contained in:
@@ -10,6 +10,7 @@ import XCTest
|
||||
@testable import damus
|
||||
|
||||
final class MutingTests: XCTestCase {
|
||||
@MainActor
|
||||
func testWordMuting() async {
|
||||
// Setup some test data
|
||||
let test_note = NostrEvent(
|
||||
|
||||
Reference in New Issue
Block a user