mirror of
https://github.com/bitwarden/ios.git
synced 2025-12-12 18:30:41 -06:00
21 lines
495 B
Swift
21 lines
495 B
Swift
import BitwardenSdk
|
|
|
|
// MARK: - ViewTokenAction
|
|
|
|
/// Synchronous actions that can be processed by a `ViewTokenProcessor`.
|
|
enum ViewTokenAction: Equatable {
|
|
/// A copy button was pressed for the given value.
|
|
///
|
|
/// - Parameters:
|
|
/// - value: The value to copy.
|
|
/// - field: The field being copied.
|
|
///
|
|
case copyPressed(value: String)
|
|
|
|
/// The edit button was pressed.
|
|
case editPressed
|
|
|
|
/// The toast was shown or hidden.
|
|
case toastShown(Toast?)
|
|
}
|