diff --git a/Sources/CTR/Interface/Holder/Dashboard/HolderDashboardViewModel.swift b/Sources/CTR/Interface/Holder/Dashboard/HolderDashboardViewModel.swift index d0878f1b5..6dff115be 100644 --- a/Sources/CTR/Interface/Holder/Dashboard/HolderDashboardViewModel.swift +++ b/Sources/CTR/Interface/Holder/Dashboard/HolderDashboardViewModel.swift @@ -93,12 +93,11 @@ final class HolderDashboardViewModel: HolderDashboardViewModelType { /// that allows us to use a `didSet{}` to /// get a callback if any of them are mutated. struct State: Equatable { - enum StrippenRefresherFailMissingCredentialsError: Error { + enum StrippenRefresherFailMissingCredentialsError: Error { // swiftlint:disable:this type_name case noInternet case otherFailureFirstOccurence, otherFailureSubsequentOccurence } - var qrCards: [QRCard] var expiredGreenCards: [ExpiredQR] var blockedEventItems: [RemovedEventItem] diff --git a/Sources/CTR/Interface/Holder/Dashboard/Logic/HolderDashboardViewModel+Model.swift b/Sources/CTR/Interface/Holder/Dashboard/Logic/HolderDashboardViewModel+Model.swift index 2d34a1fb8..91241c617 100644 --- a/Sources/CTR/Interface/Holder/Dashboard/Logic/HolderDashboardViewModel+Model.swift +++ b/Sources/CTR/Interface/Holder/Dashboard/Logic/HolderDashboardViewModel+Model.swift @@ -133,8 +133,8 @@ extension HolderDashboardViewModel { // DCCs and CTBs should be grouped when the GreenCards are sorted: let regionModifier: Double = { switch self.region { - case .europeanUnion: return 1 - case .netherlands: return 0 + case .europeanUnion: return 1 + case .netherlands: return 0 } }() diff --git a/Sources/CTR/Interface/Holder/Dashboard/Logic/HolderDashboardViewModel+makeVCCards.swift b/Sources/CTR/Interface/Holder/Dashboard/Logic/HolderDashboardViewModel+makeVCCards.swift index 228855cec..0da046b7b 100644 --- a/Sources/CTR/Interface/Holder/Dashboard/Logic/HolderDashboardViewModel+makeVCCards.swift +++ b/Sources/CTR/Interface/Holder/Dashboard/Logic/HolderDashboardViewModel+makeVCCards.swift @@ -4,6 +4,7 @@ * * SPDX-License-Identifier: EUPL-1.2 */ +// swiftlint:disable file_length import Foundation import Shared