Merge branch 'release/10_6_0' into 'develop'

release/10_6_0 hotfix merge

Co-authored-by: teegsh2 <Suramba@77>

See merge request https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui/-/merge_requests/944
This commit is contained in:
Hedden, Kyle Matthew 2023-04-24 18:24:57 +00:00
commit 7a2c5ba223

View File

@ -235,7 +235,9 @@ extension Tabs: UICollectionViewDelegateFlowLayout {
public func collectionView(_ collectionView: UICollectionView, willDisplay cell: UICollectionViewCell, forItemAt indexPath: IndexPath) {
guard let tabCell = cell as? TabItemCell else { return }
if indexPath.row == selectedIndex {
moveSelectionLine(toIndex: indexPath, animated: false, cell: tabCell)
DispatchQueue.main.async {
self.moveSelectionLine(toIndex: indexPath, animated: false, cell: tabCell)
}
}
}