diff options
author | Alex Zolotarev <alex@maps.me> | 2015-08-09 23:42:29 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 03:00:17 +0300 |
commit | 6f40bb1666e85d84162549aca341d38a6ca412e7 (patch) | |
tree | 02da338c16b6d4f6241b534f45d8700b044e41b7 /platform | |
parent | ef1d8632b027c1d03bab07d6e45d1a10ae1e143c (diff) |
[ios] Fixed bug when every launch was counted as a first one.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/settings.cpp | 6 | ||||
-rw-r--r-- | platform/settings.hpp | 4 |
2 files changed, 0 insertions, 10 deletions
diff --git a/platform/settings.cpp b/platform/settings.cpp index f85bfc9bda..646ee6af62 100644 --- a/platform/settings.cpp +++ b/platform/settings.cpp @@ -347,10 +347,4 @@ namespace Settings else return false; } - - bool IsFirstLaunch() - { - int unused; - return !Get(FIRST_LAUNCH_KEY, unused); - } } diff --git a/platform/settings.hpp b/platform/settings.hpp index 47dbb1a2f3..1918fcf879 100644 --- a/platform/settings.hpp +++ b/platform/settings.hpp @@ -53,8 +53,4 @@ namespace Settings /// Use this function for running some stuff once according to date. /// @param[in] date Current date in format yymmdd. bool IsFirstLaunchForDate(int date); - /// @Returns true when user launched app first time - /// Use to track new installs - /// @warning Can be used only before IsFirstLaunchForDate(int) call - bool IsFirstLaunch(); } |