From ba4c88ec5d8c834ca0220e98a40eff9f1d46cfb9 Mon Sep 17 00:00:00 2001 From: estevez-dev Date: Thu, 5 Sep 2019 00:09:40 +0300 Subject: [PATCH] Startup user messages fix --- lib/main.dart | 2 +- lib/managers/startup_user_messages_manager.class.dart | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 149d6f8..4e41479 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -308,7 +308,7 @@ class _MainPageState extends State with WidgetsBindingObserver, Ticker _showInfoBottomBar(progress: true,); ConnectionManager().init(loadSettings: false, forceReconnect: false).then((_){ _fetchData(); - StartupUserMessagesManager().checkMessagesToShow(); + //StartupUserMessagesManager().checkMessagesToShow(); }, onError: (e) { _setErrorState(e); }); diff --git a/lib/managers/startup_user_messages_manager.class.dart b/lib/managers/startup_user_messages_manager.class.dart index bde1a50..c874741 100644 --- a/lib/managers/startup_user_messages_manager.class.dart +++ b/lib/managers/startup_user_messages_manager.class.dart @@ -26,9 +26,9 @@ class StartupUserMessagesManager { void _showSupportAppDevelopmentMessage() { eventBus.fire(ShowPopupDialogEvent( title: "Hi!", - body: "As you may have noticed this app contains no ads. Also all app features are available for you for free. Following the principles of free and open source softwere this will not be changed in nearest future. But still you can support this application development materially. There is several options available, please check them in main menu -> Support app development. Thanks.", - positiveText: "Take me there", - negativeText: "Nope", + body: "As you may have noticed this app contains no ads. Also all app features are available for you for free. I'm not planning to change this in nearest future, but still you can support this application development materially. There is one-time payment available as well as several subscription options. Thanks.", + positiveText: "Show options", + negativeText: "Cancel", onPositive: () { SharedPreferences.getInstance().then((prefs) { prefs.setBool(_supportAppDevelopmentMessageKey, true);