mirror of
https://github.com/bitwarden/ios.git
synced 2025-12-11 13:54:06 -06:00
19 lines
612 B
Swift
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
|
|
}
|