Added Live Notification suppression to Streamer Mode (#2342)
This commit is contained in:
@@ -193,6 +193,8 @@ public:
|
||||
BoolSetting streamerModeHideViewerCountAndDuration = {
|
||||
"/streamerMode/hideViewerCountAndDuration", false};
|
||||
BoolSetting streamerModeMuteMentions = {"/streamerMode/muteMentions", true};
|
||||
BoolSetting streamerModeSupressLiveNotifications = {
|
||||
"/streamerMode/supressLiveNotifications", false};
|
||||
|
||||
/// Ignored Phrases
|
||||
QStringSetting ignoredPhraseReplace = {"/ignore/ignoredPhraseReplace",
|
||||
|
||||
@@ -38,7 +38,9 @@ bool Toasts::isEnabled()
|
||||
{
|
||||
#ifdef Q_OS_WIN
|
||||
return WinToastLib::WinToast::isCompatible() &&
|
||||
getSettings()->notificationToast;
|
||||
getSettings()->notificationToast &&
|
||||
!(isInStreamerMode() &&
|
||||
getSettings()->streamerModeSupressLiveNotifications);
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user