hide user profile avatar if obs is running

This commit is contained in:
fourtf
2020-07-12 22:44:33 +02:00
parent 515657be19
commit 9739d8d9c3
4 changed files with 69 additions and 1 deletions
+5 -1
View File
@@ -14,6 +14,7 @@
#include "util/LayoutCreator.hpp"
#include "util/PostToThread.hpp"
#include "util/Shortcut.hpp"
#include "util/StreamerMode.hpp"
#include "widgets/Label.hpp"
#include "widgets/helper/ChannelView.hpp"
#include "widgets/helper/EffectLabel.hpp"
@@ -484,7 +485,10 @@ void UserInfoPopup::updateUserData()
[] {
// failure
});
this->loadAvatar(user.profileImageUrl);
if (!isInStreamerMode())
{
this->loadAvatar(user.profileImageUrl);
}
getHelix()->getUserFollowers(
user.id,