Skip to content

Commit

Permalink
fix: Applied filter view height - WPB-14421 (#2200)
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Wyndham <[email protected]>
  • Loading branch information
github-actions[bot] and samwyndham authored Nov 25, 2024
1 parent 66dbea9 commit 5b7fa37
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ final class MockConversationListContainer: UIViewController, ConversationListCon
}

func conversationListViewControllerViewModelDidReloadContent(
_ viewModel: ConversationListViewController
.ViewModel
_ viewModel: ConversationListViewController.ViewModel
) {
// no - op
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,10 @@ final class ConversationListViewController: UIViewController {
filterContainerStackView.addArrangedSubview(filterLabel)
filterContainerStackView.addArrangedSubview(removeButton)

NSLayoutConstraint.activate([
filterContainerView.heightAnchor.constraint(equalTo: filterLabel.heightAnchor, constant: 16)
])

// Initially hide the filter container view
filterContainerView.isHidden = true
}
Expand Down

0 comments on commit 5b7fa37

Please sign in to comment.