removed spaces
This commit is contained in:
parent
0742fe8afb
commit
02d93c56ac
@ -105,7 +105,6 @@ extension TagsList: UICollectionViewDelegate {
|
|||||||
|
|
||||||
open func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
|
open func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
|
||||||
guard let tagModel = tags?[indexPath.row] else {return}
|
guard let tagModel = tags?[indexPath.row] else {return}
|
||||||
Button.
|
|
||||||
if let data = try? tagModel.action?.encode(using: JSONEncoder()),
|
if let data = try? tagModel.action?.encode(using: JSONEncoder()),
|
||||||
let actionMap = try? JSONSerialization.jsonObject(with: data, options: JSONSerialization.ReadingOptions.init()) as? [AnyHashable: Any]{
|
let actionMap = try? JSONSerialization.jsonObject(with: data, options: JSONSerialization.ReadingOptions.init()) as? [AnyHashable: Any]{
|
||||||
MVMCoreActionHandler.shared()?.handleAction(with: actionMap, additionalData: nil, delegateObject: delegateObject)
|
MVMCoreActionHandler.shared()?.handleAction(with: actionMap, additionalData: nil, delegateObject: delegateObject)
|
||||||
|
|||||||
@ -29,6 +29,7 @@ class UICollectionViewLeftAlignedLayout: UICollectionViewFlowLayout {
|
|||||||
return rows.flatMap { $0.attributes }
|
return rows.flatMap { $0.attributes }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class Row {
|
class Row {
|
||||||
|
|
||||||
var attributes = [UICollectionViewLayoutAttributes]()
|
var attributes = [UICollectionViewLayoutAttributes]()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user