mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-06 17:00:13 +00:00
Fix build
This commit is contained in:
parent
4dfbf55937
commit
388868a3ce
@ -500,13 +500,6 @@ public final class TabSelectorComponent: Component {
|
||||
public func scrollToEnd() {
|
||||
self.setContentOffset(CGPoint(x: self.contentSize.width - self.bounds.width, y: 0.0), animated: true)
|
||||
}
|
||||
|
||||
public func frameForItem(_ id: AnyHashable) -> CGRect? {
|
||||
if let item = self.visibleItems[id] {
|
||||
return item.convert(item.bounds, to: self)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
public func frameForItem(_ id: AnyHashable) -> CGRect? {
|
||||
if let item = self.visibleItems[id] {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user