From 032a791ec163f1fdc7762ef657930dd25fff7671 Mon Sep 17 00:00:00 2001 From: Felanbird <41973452+Felanbird@users.noreply.github.com> Date: Sun, 21 Feb 2021 10:42:59 -0500 Subject: [PATCH] Fixed spelling of Suppress (#2472) --- src/controllers/notifications/NotificationController.cpp | 4 ++-- src/singletons/Settings.hpp | 2 +- src/singletons/Toasts.cpp | 2 +- src/widgets/settingspages/GeneralPage.cpp | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/controllers/notifications/NotificationController.cpp b/src/controllers/notifications/NotificationController.cpp index a973d1851..5afe585ac 100644 --- a/src/controllers/notifications/NotificationController.cpp +++ b/src/controllers/notifications/NotificationController.cpp @@ -175,13 +175,13 @@ void NotificationController::getFakeTwitchChannelLiveStatus( } if (getSettings()->notificationPlaySound && !(isInStreamerMode() && - getSettings()->streamerModeSupressLiveNotifications)) + getSettings()->streamerModeSuppressLiveNotifications)) { getApp()->notifications->playSound(); } if (getSettings()->notificationFlashTaskbar && !(isInStreamerMode() && - getSettings()->streamerModeSupressLiveNotifications)) + getSettings()->streamerModeSuppressLiveNotifications)) { getApp()->windows->sendAlert(); } diff --git a/src/singletons/Settings.hpp b/src/singletons/Settings.hpp index c960af695..893699952 100644 --- a/src/singletons/Settings.hpp +++ b/src/singletons/Settings.hpp @@ -193,7 +193,7 @@ public: BoolSetting streamerModeHideViewerCountAndDuration = { "/streamerMode/hideViewerCountAndDuration", false}; BoolSetting streamerModeMuteMentions = {"/streamerMode/muteMentions", true}; - BoolSetting streamerModeSupressLiveNotifications = { + BoolSetting streamerModeSuppressLiveNotifications = { "/streamerMode/supressLiveNotifications", false}; /// Ignored Phrases diff --git a/src/singletons/Toasts.cpp b/src/singletons/Toasts.cpp index 37ff05538..ef3d861f2 100644 --- a/src/singletons/Toasts.cpp +++ b/src/singletons/Toasts.cpp @@ -40,7 +40,7 @@ bool Toasts::isEnabled() return WinToastLib::WinToast::isCompatible() && getSettings()->notificationToast && !(isInStreamerMode() && - getSettings()->streamerModeSupressLiveNotifications); + getSettings()->streamerModeSuppressLiveNotifications); #else return false; #endif diff --git a/src/widgets/settingspages/GeneralPage.cpp b/src/widgets/settingspages/GeneralPage.cpp index 2efeab5e4..890df0f4d 100644 --- a/src/widgets/settingspages/GeneralPage.cpp +++ b/src/widgets/settingspages/GeneralPage.cpp @@ -351,8 +351,8 @@ void GeneralPage::initLayout(GeneralPageView &layout) "Hide viewer count and stream length while hovering over split header", s.streamerModeHideViewerCountAndDuration); layout.addCheckbox("Mute mention sounds", s.streamerModeMuteMentions); - layout.addCheckbox("Supress Live Notifications", - s.streamerModeSupressLiveNotifications); + layout.addCheckbox("Suppress Live Notifications", + s.streamerModeSuppressLiveNotifications); layout.addTitle("Link Previews"); layout.addDescription(