commenting.
This commit is contained in:
parent
5bc420ac05
commit
4ea916bbcd
@ -151,11 +151,9 @@ import UIKit
|
|||||||
rectView.removeFromSuperview()
|
rectView.removeFromSuperview()
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/// Used to traverse the view hierarchy for a 🦸♂️heroic Label.
|
||||||
Used to traverse the view hierarchy for a 🦸♂️heroic Label.
|
|
||||||
*/
|
|
||||||
private func findHeroLabel(views: [UIView]) -> Label? {
|
private func findHeroLabel(views: [UIView]) -> Label? {
|
||||||
|
|
||||||
if views.isEmpty {
|
if views.isEmpty {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -169,7 +167,7 @@ import UIKit
|
|||||||
}
|
}
|
||||||
queue.append(contentsOf: view.subviews)
|
queue.append(contentsOf: view.subviews)
|
||||||
}
|
}
|
||||||
|
|
||||||
return findHeroLabel(views: queue)
|
return findHeroLabel(views: queue)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user