Add a DeveloperOptionsScreenHook.

This commit is contained in:
Doug
2025-10-15 09:14:26 +01:00
committed by Stefan Ceriu
parent 0d581cdf86
commit 449349ce36
10 changed files with 41 additions and 24 deletions
@@ -0,0 +1,16 @@
//
// Copyright 2025 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.
//
import SwiftUI
protocol DeveloperOptionsScreenHookProtocol {
func generalSectionRows() -> AnyView?
}
struct DefaultDeveloperOptionsScreenHook: DeveloperOptionsScreenHookProtocol {
func generalSectionRows() -> AnyView? { nil }
}