From e81865e1444f0a350055aa141fe5373ae42e999d Mon Sep 17 00:00:00 2001 From: Zed Date: Mon, 24 Jun 2019 08:44:37 +0200 Subject: [PATCH] Display "No tweets found" when appropriate --- src/views/user.nim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/user.nim b/src/views/user.nim index e778f72..f49e1d3 100644 --- a/src/views/user.nim +++ b/src/views/user.nim @@ -61,7 +61,7 @@ #if profile.protected:

This account's Tweets are protected.

-

Only confirmed followers have access to @${profile.username}'s Tweets. +

Only confirmed followers have access to @${profile.username}'s Tweets.

#end if #if not beginning: @@ -82,6 +82,10 @@ #let id = if retweet.len > 0: retweet else: tweets[^1].id Load older tweets + #else: +
+

No tweets found.

+
#end if #end proc