mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Add signed in flag to the developer options screen hook (#5914)
add signed in flag to the developer options screen hook
This commit is contained in:
@@ -8,11 +8,11 @@
|
||||
import SwiftUI
|
||||
|
||||
nonisolated protocol DeveloperOptionsScreenHookProtocol: Sendable {
|
||||
func generalSectionRows() -> AnyView?
|
||||
func generalSectionRows(isSignedIn: Bool) -> AnyView?
|
||||
}
|
||||
|
||||
struct DefaultDeveloperOptionsScreenHook: DeveloperOptionsScreenHookProtocol {
|
||||
func generalSectionRows() -> AnyView? {
|
||||
func generalSectionRows(isSignedIn: Bool) -> AnyView? {
|
||||
nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user