diff --git a/map/tips_api.cpp b/map/tips_api.cpp index 0c2893b29b..edebf60bda 100644 --- a/map/tips_api.cpp +++ b/map/tips_api.cpp @@ -21,7 +21,7 @@ auto constexpr kShowAnyTipPeriod = std::chrono::hours(24) * 3; auto constexpr kShowSameTipPeriod = std::chrono::hours(24) * 30; // Every current trigger for a tips screen can be activated at the start of the application by // default and if the app was inactive more then 12 hours. -auto constexpr kShowTipAfterCollapsingPeriod = std::chrono::seconds(12 * 60 * 60); +auto constexpr kShowTipAfterCollapsingPeriod = std::chrono::hours(12); // If a user clicks on the action areas (highlighted or blue button) // the appropriate screen will never be shown again. size_t constexpr kActionClicksCountToDisable = 1; diff --git a/map/tips_api.hpp b/map/tips_api.hpp index d7669659c6..99834c3e70 100644 --- a/map/tips_api.hpp +++ b/map/tips_api.hpp @@ -15,7 +15,7 @@ class TipsApi { public: - using Duration = std::chrono::duration; + using Duration = std::chrono::hours; using Condition = std::function; using Conditions = std::array(eye::Tip::Type::Count)>;