1
0
mirror of https://github.com/zedeus/nitter.git synced 2025-12-08 04:55:37 -05:00

Fix compilation with old Nim again

This commit is contained in:
Zed
2023-11-25 10:11:57 +00:00
parent f8254c2f0f
commit a9740fec8b
3 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ proc icon*(icon: string; text=""; title=""; class=""; href=""): VNode =
text " " & text
template verifiedIcon*(user: User): untyped {.dirty.} =
if user.verifiedType != none:
if user.verifiedType != VerifiedType.none:
let lower = ($user.verifiedType).toLowerAscii()
icon "ok", class=(&"verified-icon {lower}"), title=(&"Verified {lower} account")
else: