mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fixed build of notifications type included with another Session declare.
This commit is contained in:
parent
afab863f11
commit
979973745b
1 changed files with 2 additions and 6 deletions
|
@ -10,10 +10,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
#include "settings/settings_common_session.h"
|
||||
#include "data/notify/data_notify_settings.h"
|
||||
|
||||
namespace Data {
|
||||
enum class DefaultNotify;
|
||||
} // namespace Data
|
||||
|
||||
namespace Settings {
|
||||
|
||||
class NotificationsType : public AbstractSection {
|
||||
|
@ -39,11 +35,11 @@ private:
|
|||
};
|
||||
|
||||
[[nodiscard]] bool NotificationsEnabledForType(
|
||||
not_null<Main::Session*> session,
|
||||
not_null<::Main::Session*> session,
|
||||
Data::DefaultNotify type);
|
||||
|
||||
[[nodiscard]] rpl::producer<bool> NotificationsEnabledForTypeValue(
|
||||
not_null<Main::Session*> session,
|
||||
not_null<::Main::Session*> session,
|
||||
Data::DefaultNotify type);
|
||||
|
||||
} // namespace Settings
|
||||
|
|
Loading…
Add table
Reference in a new issue