Enable SwiftLint rule 'convenience_type' and fix all violations

This commit is contained in:
Danny Moesch 2020-07-04 22:05:20 +02:00 committed by Mingshen Sun
parent 7d79314bae
commit 2e6cf69b03
5 changed files with 7 additions and 7 deletions

View file

@ -6,7 +6,7 @@
// Copyright © 2018 Bob Sun. All rights reserved.
//
public struct Constants {
public enum Constants {
static let OTP_SECRET = "otp_secret"
static let OTP_TYPE = "otp_type"
static let OTP_ALGORITHM = "otp_algorithm"