mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Update files following swiftformat upgrade
This commit is contained in:
committed by
Stefan Ceriu
parent
fe189fcfed
commit
23062901c0
-1
@@ -64,7 +64,6 @@ struct AnalyticsPromptScreen: View {
|
||||
.environment(\.backgroundStyle, AnyShapeStyle(.compound.bgSubtleSecondary))
|
||||
}
|
||||
|
||||
@ViewBuilder
|
||||
private func checkMarkItem(title: String, position: ListPosition) -> some View {
|
||||
VisualListItem(title: title, position: position) {
|
||||
CompoundIcon(\.checkCircle, size: .small, relativeTo: .body)
|
||||
|
||||
-2
@@ -35,7 +35,6 @@ struct IdentityConfirmationScreen: View {
|
||||
|
||||
// MARK: - Private
|
||||
|
||||
@ViewBuilder
|
||||
private var screenHeader: some View {
|
||||
VStack(spacing: 0) {
|
||||
BigIcon(icon: \.lockSolid)
|
||||
@@ -60,7 +59,6 @@ struct IdentityConfirmationScreen: View {
|
||||
}
|
||||
}
|
||||
|
||||
@ViewBuilder
|
||||
private var actionButtons: some View {
|
||||
VStack(spacing: 16) {
|
||||
if let availableActions = context.viewState.availableActions {
|
||||
|
||||
-2
@@ -27,7 +27,6 @@ struct IdentityConfirmedScreen: View {
|
||||
|
||||
// MARK: - Private
|
||||
|
||||
@ViewBuilder
|
||||
private var screenHeader: some View {
|
||||
VStack(spacing: 0) {
|
||||
BigIcon(icon: \.checkCircle, style: .successSolid)
|
||||
@@ -46,7 +45,6 @@ struct IdentityConfirmedScreen: View {
|
||||
}
|
||||
}
|
||||
|
||||
@ViewBuilder
|
||||
private var actionButtons: some View {
|
||||
Button(L10n.actionContinue) {
|
||||
context.send(viewAction: .done)
|
||||
|
||||
-2
@@ -54,7 +54,6 @@ struct SessionVerificationScreen: View {
|
||||
}
|
||||
}
|
||||
|
||||
@ViewBuilder
|
||||
private var screenHeader: some View {
|
||||
VStack(spacing: 0) {
|
||||
BigIcon(icon: context.viewState.headerIcon.keyPath,
|
||||
@@ -109,7 +108,6 @@ struct SessionVerificationScreen: View {
|
||||
}
|
||||
}
|
||||
|
||||
@ViewBuilder
|
||||
private func emojisPanel(with emojis: [SessionVerificationEmoji]) -> some View {
|
||||
VStack(spacing: 32) {
|
||||
HStack(spacing: 16) {
|
||||
|
||||
Reference in New Issue
Block a user