Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
FulcrumOne committed Nov 7, 2024
1 parent d9aac9e commit 25cea90
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions Sources/Internal/View Models/ViewModel+VerticalStack.swift
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,6 @@ extension VM.VerticalStack {
func t_calculateHeight(heightCandidate: CGFloat, popup: AnyPopup) -> CGFloat { calculateNewPopupHeight(heightCandidate, popup.config) }


func t_calculateAndUpdateTranslationProgress() async { translationProgress = await calculateTranslationProgress() }


}
#endif
1 change: 0 additions & 1 deletion Tests/Tests+ViewModel+PopupVerticalStack.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1441,7 +1441,6 @@ private extension PopupVerticalStackViewModelTests {
await viewModel.updatePopupsValue(popups)
await updatePopups(viewModel)
await viewModel.updateGestureTranslation(gestureValue)
await viewModel.t_calculateAndUpdateTranslationProgress()
await viewModel.onPopupDragGestureEnded(gestureValue)

XCTAssertEqual(viewModel.popups.count, expectedValues.shouldPopupBeDismissed ? 0 : 1)
Expand Down

0 comments on commit 25cea90

Please sign in to comment.