mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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 "settings/settings_common_session.h"
|
||||||
#include "data/notify/data_notify_settings.h"
|
#include "data/notify/data_notify_settings.h"
|
||||||
|
|
||||||
namespace Data {
|
|
||||||
enum class DefaultNotify;
|
|
||||||
} // namespace Data
|
|
||||||
|
|
||||||
namespace Settings {
|
namespace Settings {
|
||||||
|
|
||||||
class NotificationsType : public AbstractSection {
|
class NotificationsType : public AbstractSection {
|
||||||
|
@ -39,11 +35,11 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
[[nodiscard]] bool NotificationsEnabledForType(
|
[[nodiscard]] bool NotificationsEnabledForType(
|
||||||
not_null<Main::Session*> session,
|
not_null<::Main::Session*> session,
|
||||||
Data::DefaultNotify type);
|
Data::DefaultNotify type);
|
||||||
|
|
||||||
[[nodiscard]] rpl::producer<bool> NotificationsEnabledForTypeValue(
|
[[nodiscard]] rpl::producer<bool> NotificationsEnabledForTypeValue(
|
||||||
not_null<Main::Session*> session,
|
not_null<::Main::Session*> session,
|
||||||
Data::DefaultNotify type);
|
Data::DefaultNotify type);
|
||||||
|
|
||||||
} // namespace Settings
|
} // namespace Settings
|
||||||
|
|
Loading…
Add table
Reference in a new issue