Skip to content

Commit

Permalink
fix minor compile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshihorie committed Jan 8, 2024
1 parent 55085d4 commit da703ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/LiveKit/Participant/LocalParticipant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ public class LocalParticipant: Participant {

// TODO: Revert internal state on failure

try await room.engine.signalClient.sendUpdateLocalMetadata(metadata, name: name ?? "")
try await room.engine.signalClient.sendUpdateLocalMetadata(metadata, name: name)
}

/// Sets and updates the name of the local participant.
Expand Down
2 changes: 1 addition & 1 deletion Sources/LiveKit/SwiftUI/SwiftUIVideoView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class TrackDelegateReceiver: TrackDelegate, Loggable {
_statistics = statistics
}

func track(_: VideoTrack, didUpdate dimensions: Dimensions?) {
func track(_: VideoTrack, didUpdateDimensions dimensions: Dimensions?) {
Task.detached { @MainActor in
self.dimensions = dimensions
}
Expand Down

0 comments on commit da703ae

Please sign in to comment.