mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-03 22:56:57 +02:00
Fixed various SwiftFormat warnings
This commit is contained in:
committed by
Stefan Ceriu
parent
51e71f2d46
commit
5d65dd6f4b
@@ -43,7 +43,10 @@ struct QRLoginRendezvousPayload: Codable {
|
||||
var intent: Intent?
|
||||
var outcome: Outcome?
|
||||
|
||||
// swiftformat:disable:next redundantBackticks
|
||||
var protocols: [`Protocol`]?
|
||||
|
||||
// swiftformat:disable:next redundantBackticks
|
||||
var `protocol`: `Protocol`?
|
||||
|
||||
var homeserver: String?
|
||||
@@ -84,10 +87,12 @@ struct QRLoginRendezvousPayload: Codable {
|
||||
}
|
||||
|
||||
enum Outcome: String, Codable {
|
||||
case success = "success"
|
||||
case declined = "declined"
|
||||
case success
|
||||
case declined
|
||||
case verified
|
||||
}
|
||||
|
||||
// swiftformat:disable:next redundantBackticks
|
||||
enum `Protocol`: String, Codable {
|
||||
case loginToken = "login_token"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user