Increase tweet avatar resolution
This commit is contained in:
parent
b389723bf5
commit
0f72b64ce2
|
@ -27,7 +27,7 @@ proc renderHeader(tweet: Tweet; retweet: string; prefs: Prefs): VNode =
|
||||||
|
|
||||||
tdiv(class="tweet-header"):
|
tdiv(class="tweet-header"):
|
||||||
a(class="tweet-avatar", href=("/" & tweet.profile.username)):
|
a(class="tweet-avatar", href=("/" & tweet.profile.username)):
|
||||||
var size = "_normal"
|
var size = "_bigger"
|
||||||
if not prefs.autoplayGifs and tweet.profile.userpic.endsWith("gif"):
|
if not prefs.autoplayGifs and tweet.profile.userpic.endsWith("gif"):
|
||||||
size = "_400x400"
|
size = "_400x400"
|
||||||
genImg(tweet.profile.getUserpic(size), class="avatar")
|
genImg(tweet.profile.getUserpic(size), class="avatar")
|
||||||
|
|
Loading…
Reference in New Issue