mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Configured and applied SwiftFormat
This commit is contained in:
committed by
Stefan Ceriu
parent
ff2e6ddfa7
commit
43c28d23b7
@@ -1,4 +1,4 @@
|
||||
//
|
||||
//
|
||||
// Copyright 2021 New Vector Ltd
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@@ -35,12 +35,12 @@ enum MockTemplateUserProfileScreenState: MockScreenState, CaseIterable {
|
||||
static var allCases: [MockTemplateUserProfileScreenState] {
|
||||
// Each of the presence statuses
|
||||
TemplateUserProfilePresence.allCases.map(MockTemplateUserProfileScreenState.presence)
|
||||
// A long display name
|
||||
+ [.longDisplayName("Somebody with a super long name we would like to test")]
|
||||
// A long display name
|
||||
+ [.longDisplayName("Somebody with a super long name we would like to test")]
|
||||
}
|
||||
|
||||
/// Generate the view struct for the screen state.
|
||||
var screenView: ([Any], AnyView) {
|
||||
var screenView: ([Any], AnyView) {
|
||||
let service: MockTemplateUserProfileService
|
||||
switch self {
|
||||
case .presence(let presence):
|
||||
|
||||
Reference in New Issue
Block a user