Skip to content

Commit 388868a

Browse files
committed
Fix build
1 parent 4dfbf55 commit 388868a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

submodules/TelegramUI/Components/TabSelectorComponent/Sources/TabSelectorComponent.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -500,13 +500,6 @@ public final class TabSelectorComponent: Component {
500500
public func scrollToEnd() {
501501
self.setContentOffset(CGPoint(x: self.contentSize.width - self.bounds.width, y: 0.0), animated: true)
502502
}
503-
504-
public func frameForItem(_ id: AnyHashable) -> CGRect? {
505-
if let item = self.visibleItems[id] {
506-
return item.convert(item.bounds, to: self)
507-
}
508-
return nil
509-
}
510503

511504
public func frameForItem(_ id: AnyHashable) -> CGRect? {
512505
if let item = self.visibleItems[id] {

0 commit comments

Comments
 (0)