From 7bfe21b1c01e1c4c8f8bc2d5987c2e827fda8b48 Mon Sep 17 00:00:00 2001 From: Bogdan Iusco Date: Tue, 11 Sep 2012 13:56:45 +0300 Subject: [PATCH] Fix for MOSYNC-2387 "PushNotificationReceiver crashes on iOS". --- .../notification/PushNotificationReceiver/SettingsScreen.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testPrograms/notification/PushNotificationReceiver/SettingsScreen.cpp b/testPrograms/notification/PushNotificationReceiver/SettingsScreen.cpp index fb8dae4b8..d784970d5 100644 --- a/testPrograms/notification/PushNotificationReceiver/SettingsScreen.cpp +++ b/testPrograms/notification/PushNotificationReceiver/SettingsScreen.cpp @@ -83,8 +83,11 @@ SettingsScreen::SettingsScreen(SettingsScreenListener* listener): mIPEditBox->addEditBoxListener(this); mPortEditBox->addEditBoxListener(this); + if (isAndroid()) + { mTickerText->addEditBoxListener(this); mContentTitle->addEditBoxListener(this); + } mConnectButton->addButtonListener(this); if (isAndroid())