removed spaces

This commit is contained in:
Damodaram 2020-06-05 15:36:19 +05:30
parent 0742fe8afb
commit 02d93c56ac
2 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,6 @@ extension TagsList: UICollectionViewDelegate {
open func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
guard let tagModel = tags?[indexPath.row] else {return}
Button.
if let data = try? tagModel.action?.encode(using: JSONEncoder()),
let actionMap = try? JSONSerialization.jsonObject(with: data, options: JSONSerialization.ReadingOptions.init()) as? [AnyHashable: Any]{
MVMCoreActionHandler.shared()?.handleAction(with: actionMap, additionalData: nil, delegateObject: delegateObject)

View File

@ -29,6 +29,7 @@ class UICollectionViewLeftAlignedLayout: UICollectionViewFlowLayout {
return rows.flatMap { $0.attributes }
}
}
class Row {
var attributes = [UICollectionViewLayoutAttributes]()