2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Add a power saving setting for effects.

This commit is contained in:
John Preston
2024-06-01 11:19:00 +04:00
parent a7bffe7abd
commit f61f649a7e
4 changed files with 7 additions and 2 deletions

View File

@@ -20,8 +20,9 @@ enum Flag : uint32 {
kChatSpoiler = (1U << 7),
kCalls = (1U << 8),
kEmojiStatus = (1U << 9),
kChatEffects = (1U << 10),
kAll = (1U << 10) - 1,
kAll = (1U << 11) - 1,
};
inline constexpr bool is_flag_type(Flag) { return true; }
using Flags = base::flags<Flag>;