Skip to content

Commit aeaa73b

Browse files
committed
fix custom creative item
1 parent 89addf7 commit aeaa73b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

TeadsSampleApp/Controllers/RootController/RootViewController.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,9 @@ extension RootViewController: UICollectionViewDelegate, UICollectionViewDataSour
239239
for i in 0..<selectionList[j].creativeTypes.count {
240240
selectionList[j].creativeTypes[i].isSelected = indexPath.item == i
241241
if indexPath.item == i {
242+
if selectionList[j].creativeTypes[i].name == .custom {
243+
pidAlert()
244+
}
242245
self.adSelection.creation = selectionList[j].creativeTypes[i]
243246
}
244247
}

0 commit comments

Comments
 (0)