mirror of
https://github.com/zedeus/nitter.git
synced 2025-12-08 04:55:37 -05:00
minor changes
This commit is contained in:
@@ -32,8 +32,7 @@ proc renderHeader(tweet: Tweet; retweet: string; prefs: Prefs): VNode =
|
||||
if not prefs.autoplayGifs and tweet.profile.userPic.endsWith("gif"):
|
||||
size = "_400x400"
|
||||
|
||||
let round = if prefs.squareProfileImages: "" else: " round"
|
||||
|
||||
let round = if prefs.squareAvatars: "" else: " round"
|
||||
genImg(tweet.profile.getUserPic(size), class=(&"avatar{round}"))
|
||||
|
||||
tdiv(class="tweet-name-row"):
|
||||
|
||||
Reference in New Issue
Block a user