1
0
mirror of https://github.com/zedeus/nitter.git synced 2025-12-07 20:45:36 -05:00

Fix hidePinned preference

This commit is contained in:
Zed
2022-01-30 16:58:20 +01:00
parent f10519c41a
commit 8ecac89ea0
2 changed files with 2 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ proc renderTimelineTweets*(results: Result[Tweet]; prefs: Prefs; path: string;
if not results.beginning:
renderNewer(results.query, parseUri(path).path)
if pinned.isSome:
if not prefs.hidePins and pinned.isSome:
let tweet = get pinned
renderTweet(tweet, prefs, path, showThread=tweet.hasThread)