mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Recent actions improvements
This commit is contained in:
@@ -51,7 +51,7 @@ public struct ListViewItemConfigureNodeFlags: OptionSet {
|
||||
}
|
||||
|
||||
public final class ListViewItemApply {
|
||||
public let isOnScreen: Bool
|
||||
public private(set) var isOnScreen: Bool
|
||||
public let timestamp: Double?
|
||||
public private(set) var invertOffsetDirection: Bool = false
|
||||
|
||||
@@ -63,6 +63,10 @@ public final class ListViewItemApply {
|
||||
public func setInvertOffsetDirection() {
|
||||
self.invertOffsetDirection = true
|
||||
}
|
||||
|
||||
public func setIsOffscreen() {
|
||||
self.isOnScreen = false
|
||||
}
|
||||
}
|
||||
|
||||
public protocol ListViewItem {
|
||||
|
||||
Reference in New Issue
Block a user