fix: special shortcut for Windows live notifications (#5975)

This commit is contained in:
8thony
2025-03-09 15:48:26 +01:00
committed by GitHub
parent 81ef344fad
commit ffe28b88a4
10 changed files with 48 additions and 8 deletions
+7
View File
@@ -3,6 +3,7 @@
#include "common/Channel.hpp"
#include "common/ChatterinoSetting.hpp"
#include "common/enums/MessageOverflow.hpp"
#include "common/Modes.hpp"
#include "common/SignalVector.hpp"
#include "controllers/filters/FilterRecord.hpp"
#include "controllers/highlights/HighlightBadge.hpp"
@@ -553,6 +554,12 @@ public:
"/notifications/suppressInitialLive", false};
BoolSetting notificationToast = {"/notifications/enableToast", false};
BoolSetting createShortcutForToasts = {
"/notifications/createShortcutForToasts",
(Modes::instance().isPortable || Modes::instance().isExternallyPackaged)
? false
: true,
};
IntSetting openFromToast = {"/notifications/openFromToast",
static_cast<int>(ToastReaction::OpenInBrowser)};