mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 19:44:05 +00:00
Removing dead code part 2 (#2235)
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
This commit is contained in:
@@ -50,11 +50,6 @@ struct LayoutSubviewsMock: Equatable, RandomAccessCollection {
|
||||
subscript(bounds: Range<Int>) -> LayoutSubviewsMock {
|
||||
LayoutSubviewsMock(subviews: Array(subviews[bounds]))
|
||||
}
|
||||
|
||||
/// Gets the subview proxies with the specified indicies.
|
||||
subscript<S>(indices: S) -> LayoutSubviewsMock where S: Sequence, S.Element == Int {
|
||||
LayoutSubviewsMock(subviews: Array(indices.map { subviews[$0] }))
|
||||
}
|
||||
}
|
||||
|
||||
/// A mock of the SwiftUI `LayoutSubview` struct
|
||||
|
||||
Reference in New Issue
Block a user