UIStackView: Refactor extension method vc_removeAllSubviews to vc_removeAllArrangedSubviews.

This commit is contained in:
SBiOSoftWhare
2019-12-20 10:32:09 +01:00
parent c3a9935c99
commit 1694031a34
3 changed files with 4 additions and 4 deletions
@@ -53,7 +53,7 @@ final class RoomContextualMenuToolbarView: MXKRoomInputToolbarView, NibOwnerLoad
}
@objc func fill(contextualMenuItems: [RoomContextualMenuItem]) {
self.menuItemsStackView.vc_removeAllSubviews()
self.menuItemsStackView.vc_removeAllArrangedSubviews()
self.menuItemViews.removeAll()
for menuItem in contextualMenuItems {