From 78270889e6fe8a100b07376997858928d5210aaa Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Tue, 23 Feb 2021 03:03:02 -0500 Subject: [PATCH] use checkmark for verified bot flag --- windows/profilewindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/windows/profilewindow.cpp b/windows/profilewindow.cpp index 332652b..9fada15 100644 --- a/windows/profilewindow.cpp +++ b/windows/profilewindow.cpp @@ -117,7 +117,10 @@ void ProfileWindow::OnFetchProfile(const UserProfileData &data) { if (name == "unknown") continue; Glib::RefPtr pixbuf; try { - pixbuf = Gdk::Pixbuf::create_from_file("./res/" + name + ".png", 24, 24); + if (name == "verifiedbot") + pixbuf = Gdk::Pixbuf::create_from_file("./res/checkmark.png", 24, 24); + else + pixbuf = Gdk::Pixbuf::create_from_file("./res/" + name + ".png", 24, 24); } catch (const Glib::Exception &e) { pixbuf = Abaddon::Get().GetImageManager().GetPlaceholder(24); }