Added to show on New Board/New Channel feed last updated time

Added to show on New Board/New Channel feed last updated time
This commit is contained in:
defnax 2023-01-28 13:48:26 +01:00
parent a0de2e76db
commit c518fd0e42
4 changed files with 53 additions and 1 deletions

View file

@ -27,6 +27,7 @@
#include "gui/common/FilesDefs.h"
#include "gui/NewsFeed.h"
#include "gui/RetroShareLink.h"
#include "util/DateTime.h"
/****
* #define DEBUG_ITEM 1
@ -166,6 +167,11 @@ void GxsChannelGroupItem::fill()
break ;
}
if(mGroup.mMeta.mLastPost==0)
ui->infoLastPost->setText(tr("Never"));
else
ui->infoLastPost->setText(DateTime::formatLongDateTime(mGroup.mMeta.mLastPost));
if (mIsHome)
{
/* disable buttons */