From f48d6dc4644c17110dc04a485d6d60f23c5148fe Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 2 Mar 2017 17:00:21 +0300 Subject: [PATCH] Alpha 1.0.18: Fixed build for macOS. --- .../SourceFiles/platform/mac/notifications_manager_mac.mm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Telegram/SourceFiles/platform/mac/notifications_manager_mac.mm b/Telegram/SourceFiles/platform/mac/notifications_manager_mac.mm index a7cc314de..44342054a 100644 --- a/Telegram/SourceFiles/platform/mac/notifications_manager_mac.mm +++ b/Telegram/SourceFiles/platform/mac/notifications_manager_mac.mm @@ -104,6 +104,10 @@ Manager *GetNativeManager() { return ManagerInstance.data(); } +bool Supported() { + return ManagerInstance.data() != nullptr; +} + void Finish() { ManagerInstance.clear(); }