29 lines
500 B
Swift
29 lines
500 B
Swift
//
|
|
// Copyright 2021-2024 New Vector Ltd.
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
// Please see LICENSE in the repository root for full details.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
// MARK: - Coordinator
|
|
|
|
// MARK: View model
|
|
|
|
enum AuthenticationQRLoginConfirmViewModelResult {
|
|
case confirm
|
|
case cancel
|
|
}
|
|
|
|
// MARK: View
|
|
|
|
struct AuthenticationQRLoginConfirmViewState: BindableState {
|
|
var confirmationCode: String?
|
|
}
|
|
|
|
enum AuthenticationQRLoginConfirmViewAction {
|
|
case confirm
|
|
case cancel
|
|
}
|