From 75e98d5394aba2f85b5ffcd7ed01fe1622dabb99 Mon Sep 17 00:00:00 2001 From: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com> Date: Tue, 13 Feb 2024 12:56:57 +0900 Subject: [PATCH] swiftformat . --- Sources/LiveKitComponents/Buttons/CameraToggleButton.swift | 2 +- Sources/LiveKitComponents/Buttons/DisconnectRoomButton.swift | 2 +- .../LiveKitComponents/Buttons/MicrophoneToggleButton.swift | 2 +- Sources/LiveKitComponents/Components.swift | 4 ++-- Sources/LiveKitComponents/ForEach/ForEachParticipant.swift | 2 +- .../LiveKitComponents/ForEach/ForEachTrackPublication.swift | 2 +- Sources/LiveKitComponents/Layouts/ParticipantLayout.swift | 2 +- Sources/LiveKitComponents/Prebuilt/ConnectView.swift | 2 +- Sources/LiveKitComponents/Prebuilt/VideoConferenceView.swift | 2 +- Sources/LiveKitComponents/Scopes/ComponentsScope.swift | 2 +- Sources/LiveKitComponents/Scopes/RoomScope.swift | 2 +- .../StateBuilders/ConnectionQualityBuilder.swift | 2 +- .../StateBuilders/ConnectionStateBuilder.swift | 2 +- .../StateBuilders/TrackPublicationStateBuilder.swift | 2 +- .../LiveKitComponents/Support/Extensions/GeometryProxy.swift | 2 +- Sources/LiveKitComponents/Support/HorVGrid.swift | 2 +- Sources/LiveKitComponents/Support/HorVStack.swift | 2 +- Sources/LiveKitComponents/UIPreference.swift | 2 +- Sources/LiveKitComponents/Views/LocalCameraPreview.swift | 2 +- .../Views/Participant/ConnectionQualityIndicatorView.swift | 2 +- .../Views/Participant/ParticipantInformationView.swift | 2 +- .../LiveKitComponents/Views/Participant/ParticipantView.swift | 2 +- Sources/LiveKitComponents/Views/Room/ControlsView.swift | 2 +- .../LiveKitComponents/Views/Room/LocalCameraVideoView.swift | 2 +- .../LiveKitComponents/Views/Room/ParticipantCountView.swift | 2 +- Sources/LiveKitComponents/Views/Room/RoomNameView.swift | 2 +- .../Views/TrackPublication/VideoTrackPublicationView.swift | 2 +- Tests/LiveKitComponentsTests/LiveKitComponentsTests.swift | 2 +- 28 files changed, 29 insertions(+), 29 deletions(-) diff --git a/Sources/LiveKitComponents/Buttons/CameraToggleButton.swift b/Sources/LiveKitComponents/Buttons/CameraToggleButton.swift index d240b1c..b5b6002 100644 --- a/Sources/LiveKitComponents/Buttons/CameraToggleButton.swift +++ b/Sources/LiveKitComponents/Buttons/CameraToggleButton.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/Buttons/DisconnectRoomButton.swift b/Sources/LiveKitComponents/Buttons/DisconnectRoomButton.swift index e1dc35a..6f17b98 100644 --- a/Sources/LiveKitComponents/Buttons/DisconnectRoomButton.swift +++ b/Sources/LiveKitComponents/Buttons/DisconnectRoomButton.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/Buttons/MicrophoneToggleButton.swift b/Sources/LiveKitComponents/Buttons/MicrophoneToggleButton.swift index a3f2a05..7c81853 100644 --- a/Sources/LiveKitComponents/Buttons/MicrophoneToggleButton.swift +++ b/Sources/LiveKitComponents/Buttons/MicrophoneToggleButton.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/Components.swift b/Sources/LiveKitComponents/Components.swift index ffef34c..970a453 100644 --- a/Sources/LiveKitComponents/Components.swift +++ b/Sources/LiveKitComponents/Components.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ import LiveKit import SwiftUI // Scope for Components framework -struct LiveKitComponents { +enum LiveKitComponents { public static let version = "0.0.1" } diff --git a/Sources/LiveKitComponents/ForEach/ForEachParticipant.swift b/Sources/LiveKitComponents/ForEach/ForEachParticipant.swift index 52d29f2..13ddfe0 100644 --- a/Sources/LiveKitComponents/ForEach/ForEachParticipant.swift +++ b/Sources/LiveKitComponents/ForEach/ForEachParticipant.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/ForEach/ForEachTrackPublication.swift b/Sources/LiveKitComponents/ForEach/ForEachTrackPublication.swift index 59cf836..39dfc1b 100644 --- a/Sources/LiveKitComponents/ForEach/ForEachTrackPublication.swift +++ b/Sources/LiveKitComponents/ForEach/ForEachTrackPublication.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/Layouts/ParticipantLayout.swift b/Sources/LiveKitComponents/Layouts/ParticipantLayout.swift index a09d01f..f60b570 100644 --- a/Sources/LiveKitComponents/Layouts/ParticipantLayout.swift +++ b/Sources/LiveKitComponents/Layouts/ParticipantLayout.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/Prebuilt/ConnectView.swift b/Sources/LiveKitComponents/Prebuilt/ConnectView.swift index da4d4b6..471cecf 100644 --- a/Sources/LiveKitComponents/Prebuilt/ConnectView.swift +++ b/Sources/LiveKitComponents/Prebuilt/ConnectView.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/Prebuilt/VideoConferenceView.swift b/Sources/LiveKitComponents/Prebuilt/VideoConferenceView.swift index 8d159a6..c0228db 100644 --- a/Sources/LiveKitComponents/Prebuilt/VideoConferenceView.swift +++ b/Sources/LiveKitComponents/Prebuilt/VideoConferenceView.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/Scopes/ComponentsScope.swift b/Sources/LiveKitComponents/Scopes/ComponentsScope.swift index f84cdf1..7179247 100644 --- a/Sources/LiveKitComponents/Scopes/ComponentsScope.swift +++ b/Sources/LiveKitComponents/Scopes/ComponentsScope.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/Scopes/RoomScope.swift b/Sources/LiveKitComponents/Scopes/RoomScope.swift index faef254..377f48b 100644 --- a/Sources/LiveKitComponents/Scopes/RoomScope.swift +++ b/Sources/LiveKitComponents/Scopes/RoomScope.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/StateBuilders/ConnectionQualityBuilder.swift b/Sources/LiveKitComponents/StateBuilders/ConnectionQualityBuilder.swift index 58b42e5..742a707 100644 --- a/Sources/LiveKitComponents/StateBuilders/ConnectionQualityBuilder.swift +++ b/Sources/LiveKitComponents/StateBuilders/ConnectionQualityBuilder.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/StateBuilders/ConnectionStateBuilder.swift b/Sources/LiveKitComponents/StateBuilders/ConnectionStateBuilder.swift index 1bcbc3f..81aa304 100644 --- a/Sources/LiveKitComponents/StateBuilders/ConnectionStateBuilder.swift +++ b/Sources/LiveKitComponents/StateBuilders/ConnectionStateBuilder.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/StateBuilders/TrackPublicationStateBuilder.swift b/Sources/LiveKitComponents/StateBuilders/TrackPublicationStateBuilder.swift index ab9aa68..132c338 100644 --- a/Sources/LiveKitComponents/StateBuilders/TrackPublicationStateBuilder.swift +++ b/Sources/LiveKitComponents/StateBuilders/TrackPublicationStateBuilder.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/Support/Extensions/GeometryProxy.swift b/Sources/LiveKitComponents/Support/Extensions/GeometryProxy.swift index 9c6e903..ee4ecc1 100644 --- a/Sources/LiveKitComponents/Support/Extensions/GeometryProxy.swift +++ b/Sources/LiveKitComponents/Support/Extensions/GeometryProxy.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/Support/HorVGrid.swift b/Sources/LiveKitComponents/Support/HorVGrid.swift index 1a77fc9..be07610 100644 --- a/Sources/LiveKitComponents/Support/HorVGrid.swift +++ b/Sources/LiveKitComponents/Support/HorVGrid.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/Support/HorVStack.swift b/Sources/LiveKitComponents/Support/HorVStack.swift index 8a1881e..6591eb2 100644 --- a/Sources/LiveKitComponents/Support/HorVStack.swift +++ b/Sources/LiveKitComponents/Support/HorVStack.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/UIPreference.swift b/Sources/LiveKitComponents/UIPreference.swift index 02279ab..c0feb1e 100644 --- a/Sources/LiveKitComponents/UIPreference.swift +++ b/Sources/LiveKitComponents/UIPreference.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/Views/LocalCameraPreview.swift b/Sources/LiveKitComponents/Views/LocalCameraPreview.swift index 72d0225..cd0f5e2 100644 --- a/Sources/LiveKitComponents/Views/LocalCameraPreview.swift +++ b/Sources/LiveKitComponents/Views/LocalCameraPreview.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/Views/Participant/ConnectionQualityIndicatorView.swift b/Sources/LiveKitComponents/Views/Participant/ConnectionQualityIndicatorView.swift index 341781f..7dec7da 100644 --- a/Sources/LiveKitComponents/Views/Participant/ConnectionQualityIndicatorView.swift +++ b/Sources/LiveKitComponents/Views/Participant/ConnectionQualityIndicatorView.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/Views/Participant/ParticipantInformationView.swift b/Sources/LiveKitComponents/Views/Participant/ParticipantInformationView.swift index abf45c8..5eee97b 100644 --- a/Sources/LiveKitComponents/Views/Participant/ParticipantInformationView.swift +++ b/Sources/LiveKitComponents/Views/Participant/ParticipantInformationView.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/Views/Participant/ParticipantView.swift b/Sources/LiveKitComponents/Views/Participant/ParticipantView.swift index 61d9d61..3cc76f4 100644 --- a/Sources/LiveKitComponents/Views/Participant/ParticipantView.swift +++ b/Sources/LiveKitComponents/Views/Participant/ParticipantView.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/Views/Room/ControlsView.swift b/Sources/LiveKitComponents/Views/Room/ControlsView.swift index 798082e..8959d88 100644 --- a/Sources/LiveKitComponents/Views/Room/ControlsView.swift +++ b/Sources/LiveKitComponents/Views/Room/ControlsView.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/Views/Room/LocalCameraVideoView.swift b/Sources/LiveKitComponents/Views/Room/LocalCameraVideoView.swift index e9fd212..d326cb3 100644 --- a/Sources/LiveKitComponents/Views/Room/LocalCameraVideoView.swift +++ b/Sources/LiveKitComponents/Views/Room/LocalCameraVideoView.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/Views/Room/ParticipantCountView.swift b/Sources/LiveKitComponents/Views/Room/ParticipantCountView.swift index 36d4b59..2a33685 100644 --- a/Sources/LiveKitComponents/Views/Room/ParticipantCountView.swift +++ b/Sources/LiveKitComponents/Views/Room/ParticipantCountView.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/Views/Room/RoomNameView.swift b/Sources/LiveKitComponents/Views/Room/RoomNameView.swift index 8b8b94d..995cec3 100644 --- a/Sources/LiveKitComponents/Views/Room/RoomNameView.swift +++ b/Sources/LiveKitComponents/Views/Room/RoomNameView.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Sources/LiveKitComponents/Views/TrackPublication/VideoTrackPublicationView.swift b/Sources/LiveKitComponents/Views/TrackPublication/VideoTrackPublicationView.swift index 9c1834b..be32b7a 100644 --- a/Sources/LiveKitComponents/Views/TrackPublication/VideoTrackPublicationView.swift +++ b/Sources/LiveKitComponents/Views/TrackPublication/VideoTrackPublicationView.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/Tests/LiveKitComponentsTests/LiveKitComponentsTests.swift b/Tests/LiveKitComponentsTests/LiveKitComponentsTests.swift index 31a65b1..0fa04d2 100644 --- a/Tests/LiveKitComponentsTests/LiveKitComponentsTests.swift +++ b/Tests/LiveKitComponentsTests/LiveKitComponentsTests.swift @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2024 LiveKit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.