Merge branch 'bugfix/account_crash_fix' into 'release/20_0_0'

Making the view nil to prevent dangling contrainst

### Summary
Account landing crash fix.
### JIRA Ticket
(ticket URL here or remove the section)

Co-authored-by: Subramaniam, Ramya <ramya.subramaniam@one.verizon.com>

See merge request https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui/-/merge_requests/1135
This commit is contained in:
Pfeil, Scott Robert 2024-06-21 13:32:21 +00:00
commit e9106e955f

View File

@ -307,6 +307,7 @@ open class Carousel: View {
pagingView?.removeFromSuperview()
bottomPin?.isActive = false
pagingView = nil
guard var pagingView = view else {
bottomPin = bottomAnchor.constraint(equalTo: collectionView.bottomAnchor)