mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +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");
|
||||
@@ -36,7 +36,6 @@ enum OnboardingSplashScreenViewModelResult {
|
||||
// MARK: View
|
||||
|
||||
struct OnboardingSplashScreenViewState: BindableState, CustomDebugStringConvertible {
|
||||
|
||||
/// The colours of the background gradient shown behind the 4 pages.
|
||||
private let gradientColors = [
|
||||
Color(red: 0.95, green: 0.98, blue: 0.96),
|
||||
@@ -67,7 +66,7 @@ struct OnboardingSplashScreenViewState: BindableState, CustomDebugStringConverti
|
||||
let locale = Locale.current
|
||||
let page4Title = locale.identifier.hasPrefix("en") ? "Cut the slack from teams." : VectorL10n.onboardingSplashPage4TitleNoPun
|
||||
|
||||
self.content = [
|
||||
content = [
|
||||
OnboardingSplashScreenPageContent(title: VectorL10n.onboardingSplashPage1Title,
|
||||
message: VectorL10n.onboardingSplashPage1Message,
|
||||
image: Asset.Images.onboardingSplashScreenPage1,
|
||||
@@ -83,9 +82,9 @@ struct OnboardingSplashScreenViewState: BindableState, CustomDebugStringConverti
|
||||
OnboardingSplashScreenPageContent(title: page4Title,
|
||||
message: VectorL10n.onboardingSplashPage4Message,
|
||||
image: Asset.Images.onboardingSplashScreenPage4,
|
||||
darkImage: Asset.Images.onboardingSplashScreenPage4Dark),
|
||||
darkImage: Asset.Images.onboardingSplashScreenPage4Dark)
|
||||
]
|
||||
self.bindings = OnboardingSplashScreenBindings()
|
||||
bindings = OnboardingSplashScreenBindings()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user