/* Copyright 2020-2024 New Vector Ltd. SPDX-License-Identifier: AGPL-3.0-only Please see LICENSE in the repository root for full details. */ import Foundation enum KeyVerificationKind { case otherSession // An other session case thisSession // My current session is new case newSession // My other session is new case user // Another user var verificationTitle: String { let title: String switch self { case .otherSession: title = BWIL10n.deviceVerificationOtherLoginVerifyWaitTitle case .thisSession: title = BWIL10n.keyVerificationThisSessionTitle case .newSession: title = VectorL10n.keyVerificationNewSessionTitle case .user: title = VectorL10n.keyVerificationUserTitle } return title } }