Skip to content

Commit b1569c0

Browse files
committed
[FIX]: 클래스인 URL을 비교하고 있어 비교되지 않던 버그
1 parent b48c684 commit b1569c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Feature/Feature/SharedVideoEditView/ViewModel/SharedVideoEditViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ private extension SharedVideoEditViewModel {
7575
if let currentTappedVideoPresentationModel = owner.tappedVideoPresentationModel {
7676
guard
7777
let tappedVideo = videos.first(
78-
where: { $0.url == currentTappedVideoPresentationModel.url }),
78+
where: { $0.url.path == currentTappedVideoPresentationModel.url.path }),
7979
let model = await owner.makeVideoPresentationModel(video: tappedVideo)
8080
else { return }
8181
owner.setTappedVideoPresentationModel(model: model)

0 commit comments

Comments
 (0)