Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
iandundas committed Mar 3, 2023
1 parent 0188eac commit c74f292
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*
* SPDX-License-Identifier: EUPL-1.2
*/
// swiftlint:disable file_length

import Foundation
import Shared
Expand Down

0 comments on commit c74f292

Please sign in to comment.