Refactor StreamerMode/Theme setting widgets (#6317)
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "common/LastMessageLineStyle.hpp"
|
||||
#include "common/Modes.hpp"
|
||||
#include "common/SignalVector.hpp"
|
||||
#include "common/StreamerModeSetting.hpp"
|
||||
#include "common/ThumbnailPreviewMode.hpp"
|
||||
#include "common/TimeoutStackStyle.hpp"
|
||||
#include "controllers/filters/FilterRecord.hpp"
|
||||
@@ -84,12 +85,6 @@ enum class StreamLinkPreferredQuality : std::uint8_t {
|
||||
AudioOnly,
|
||||
};
|
||||
|
||||
enum StreamerModeSetting {
|
||||
Disabled = 0,
|
||||
Enabled = 1,
|
||||
DetectStreamingSoftware = 2,
|
||||
};
|
||||
|
||||
enum class TabStyle : std::uint8_t {
|
||||
Normal,
|
||||
Compact,
|
||||
@@ -402,7 +397,9 @@ public:
|
||||
// - "Always hide"
|
||||
// - "Don't hide"
|
||||
EnumSetting<StreamerModeSetting> enableStreamerMode = {
|
||||
"/streamerMode/enabled", StreamerModeSetting::DetectStreamingSoftware};
|
||||
"/streamerMode/enabled",
|
||||
StreamerModeSetting::DetectStreamingSoftware,
|
||||
};
|
||||
BoolSetting streamerModeHideUsercardAvatars = {
|
||||
"/streamerMode/hideUsercardAvatars", true};
|
||||
BoolSetting streamerModeHideLinkThumbnails = {
|
||||
|
||||
Reference in New Issue
Block a user