Commit 164e968c authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

snap: show a tick by the verified publishers

parent 8d6f2faa
......@@ -358,7 +358,12 @@ QString SnapResource::channel() const
QString SnapResource::author() const
{
return m_snap->publisherDisplayName();
QString author = m_snap->publisherDisplayName();
if (m_snap->publisherValidation() == QSnapdEnums::PublisherValidationVerified) {
author += QStringLiteral(" ✅");
}
return author;
}
void SnapResource::setChannel(const QString& channelName)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment