mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 01:05:19 +00:00
Perf: Add final to classes that are not inherited (#574)
This commit is contained in:
@@ -26,7 +26,7 @@ import CoreBluetooth
|
||||
/// - `autoFloodEnabled` is disabled by default; Integration tests enable it in `setUp()` to
|
||||
/// simulate broadcast propagation across the mesh. E2E tests keep it off and perform explicit
|
||||
/// relays when needed.
|
||||
class MockBLEService: NSObject {
|
||||
final class MockBLEService: NSObject {
|
||||
// Enable automatic flooding for public messages in integration tests only
|
||||
static var autoFloodEnabled: Bool = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user