2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Add scroll-to-down button to Feed.

This commit is contained in:
John Preston
2018-02-04 22:57:03 +03:00
parent b8614c60f9
commit 11671e85da
11 changed files with 349 additions and 15 deletions

View File

@@ -50,6 +50,7 @@ public:
void unreadCountChanged(
base::optional<int> unreadCountDelta,
int mutedCountDelta);
rpl::producer<int> unreadCountValue() const;
MessagePosition unreadPosition() const;
rpl::producer<MessagePosition> unreadPositionChanges() const;
@@ -98,6 +99,7 @@ private:
rpl::variable<MessagePosition> _unreadPosition;
base::optional<int> _unreadCount;
rpl::event_stream<int> _unreadCountChanges;
int _unreadMutedCount = 0;
};