1
0
mirror of https://github.com/zedeus/nitter.git synced 2026-01-28 22:32:48 -05:00

Display media count above photo rail

This commit is contained in:
Zed
2019-08-11 23:24:02 +02:00
parent 7171486f03
commit 60986ecc88
4 changed files with 12 additions and 6 deletions

View File

@@ -17,7 +17,8 @@ proc parseTimelineProfile*(node: XmlNode): Profile =
userpic: node.getAvatar(".profile-picture img"),
verified: isVerified(profile),
protected: isProtected(profile),
banner: getTimelineBanner(node)
banner: getTimelineBanner(node),
media: getMediaCount(node)
)
result.getProfileStats(node.select(".ProfileNav-list"))