mirror of
https://github.com/bitwarden/ios.git
synced 2026-04-13 10:54:06 -05:00
22 lines
696 B
Swift
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
|
|
}
|