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 e36f04d commit ffa090e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/Tests+ViewModel+PopupCentreStack.swift
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@ private extension PopupCentreStackViewModelTests {
popupPadding: popupPadding,
cornerRadius: cornerRadius
)}
func recalculatePopupHeights(_ viewModel: ViewModel) -> [AnyPopup] { viewModel.popups.map {
$0.settingHeight(viewModel.t_calculateHeight(heightCandidate: $0.height!))
}}
func updatePopups(_ viewModel: ViewModel) async {
for popup in viewModel.popups { await viewModel.recalculateAndUpdatePopupHeight(popup.height!, popup) }
}
}

// MARK: Screen
Expand Down

0 comments on commit ffa090e

Please sign in to comment.