ios/BitwardenKit/UI/Platform/DebugMenu/DebugMenuEffect.swift
2025-12-09 12:09:44 -06:00

19 lines
612 B
Swift

// MARK: - DebugMenuEffect
/// Effects that can be processed by a `DebugMenuProcessor`.
///
enum DebugMenuEffect: Equatable {
/// 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
}