mirror of
https://github.com/zedeus/nitter
synced 2024-11-25 11:09:32 +01:00
minor changes
This commit is contained in:
parent
b2948e3071
commit
8d557bc490
@ -75,7 +75,7 @@ genPrefs:
|
|||||||
hideReplies(checkbox, false):
|
hideReplies(checkbox, false):
|
||||||
"Hide tweet replies"
|
"Hide tweet replies"
|
||||||
|
|
||||||
squareProfileImages(checkbox, false):
|
squareAvatars(checkbox, false):
|
||||||
"Square profile pictures"
|
"Square profile pictures"
|
||||||
|
|
||||||
Media:
|
Media:
|
||||||
@ -111,7 +111,6 @@ genPrefs:
|
|||||||
"Instagram -> Bibliogram"
|
"Instagram -> Bibliogram"
|
||||||
placeholder: "Bibliogram hostname"
|
placeholder: "Bibliogram hostname"
|
||||||
|
|
||||||
|
|
||||||
iterator allPrefs*(): Pref =
|
iterator allPrefs*(): Pref =
|
||||||
for k, v in prefList:
|
for k, v in prefList:
|
||||||
for pref in v:
|
for pref in v:
|
||||||
|
@ -32,8 +32,7 @@ proc renderHeader(tweet: Tweet; retweet: string; prefs: Prefs): VNode =
|
|||||||
if not prefs.autoplayGifs and tweet.profile.userPic.endsWith("gif"):
|
if not prefs.autoplayGifs and tweet.profile.userPic.endsWith("gif"):
|
||||||
size = "_400x400"
|
size = "_400x400"
|
||||||
|
|
||||||
let round = if prefs.squareProfileImages: "" else: " round"
|
let round = if prefs.squareAvatars: "" else: " round"
|
||||||
|
|
||||||
genImg(tweet.profile.getUserPic(size), class=(&"avatar{round}"))
|
genImg(tweet.profile.getUserPic(size), class=(&"avatar{round}"))
|
||||||
|
|
||||||
tdiv(class="tweet-name-row"):
|
tdiv(class="tweet-name-row"):
|
||||||
|
Loading…
Reference in New Issue
Block a user