Files
ios/BitwardenKit/UI/Platform/DebugMenu/DebugMenuEffect.swift
2026-03-04 19:28:58 +00:00

22 lines
696 B
Swift

// MARK: - DebugMenuEffect
/// Effects that can be processed by a `DebugMenuProcessor`.
///
enum DebugMenuEffect: Equatable {
/// Clears the SSO server communication cookie value.
case clearSsoCookies
/// Triggers a refresh of feature flags, clearing local settings and re-fetching from the remote source.
case refreshFeatureFlags
/// Toggles a specific feature flag's state.
///
/// - Parameters:
/// - String: The identifier for the feature flag.
/// - Bool: The state to which the feature flag should be set (enabled or disabled).
case toggleFeatureFlag(String, Bool)
/// The view appeared and is ready to load data.
case viewAppeared
}