Skip to content

Code Duplication #19

@nikGayko

Description

@nikGayko

&& !dataSource.sectionModels[0].elements.isEmpty && !dataSource.sectionModels[1].elements.isEmpty
so as before this line you check if sectionModels contains only two items you can rewrite it using func contains

Metadata

Metadata

Labels

iosiOS related issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions