Digital ACT191 defect - fix logic flip
This commit is contained in:
parent
6f92282a1d
commit
1c953bcccb
@ -251,7 +251,7 @@ open class Carousel: View {
|
||||
|
||||
var pagingView: (MoleculeViewProtocol & CarouselPageControlProtocol)? = nil
|
||||
if let molecule = molecule,
|
||||
(numberOfPages > 1 || molecule.hidesForSinglePage) {
|
||||
(numberOfPages > 1 || !molecule.hidesForSinglePage) {
|
||||
pagingView = ModelRegistry.createMolecule(molecule, delegateObject: delegateObject) as? (MoleculeViewProtocol & CarouselPageControlProtocol)
|
||||
pagingMoleculeName = molecule.moleculeName
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user