Provide a default implementation for the NotificationToneManager and fix the NotificationSettingsScreen preview tests

This commit is contained in:
Stefan Ceriu
2026-05-20 20:12:20 +03:00
parent e04993dc61
commit 13128d9869
3 changed files with 20 additions and 2 deletions
@@ -0,0 +1,14 @@
//
// Copyright 2026 Element Creations Ltd.
//
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
// Please see LICENSE files in the repository root for full details.
//
extension NotificationToneManagerMock {
static var `default`: NotificationToneManagerMock {
let mock = NotificationToneManagerMock()
mock.customTonesReturnValue = []
return mock
}
}