Skip to content

Commit

Permalink
.contains -> .constant に修正する
Browse files Browse the repository at this point in the history
  • Loading branch information
zztkm committed Oct 7, 2024
1 parent bac23fc commit 1467699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sora/SwiftUIVideoView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public struct SwiftUIVideoView<Background>: View where Background: View {
self.background = background
// 指定がない場合は固定値 false を与える
_isStop = isStop ?? .constant(false)
_isClear = isClear ?? .contains(false)
_isClear = isClear ?? .constant(false)
controller = VideoController(stream: stream)
}

Expand Down

0 comments on commit 1467699

Please sign in to comment.