diff --git a/saoriview.cpp b/saoriview.cpp index 187785d..e5a0153 100644 --- a/saoriview.cpp +++ b/saoriview.cpp @@ -290,10 +290,14 @@ htmlAnc("reply:" + json["id"].toString(), htmlImg("icon",SAORI_ICONS_RELPY)) + " " + htmlAnc("boost:" + json["id"].toString(), - htmlImg("icon",SAORI_ICONS_SHARE)) + + json["reblogged"].toBool() ? + htmlImg("icon",SAORI_ICONS_BOOSTED) : + htmlImg("icon",SAORI_ICONS_BOOST)) + QString::number(json["reblogs_count"].toInt()) + htmlAnc("fav:" + json["id"].toString(), - htmlImg("icon",SAORI_ICONS_STAR)) + + json["favourited"].toBool() ? + htmlImg("icon",SAORI_ICONS_FAVOURITED) : + htmlImg("icon",SAORI_ICONS_FAVOURITE)) + QString::number(json["favourites_count"].toInt()) ); }