From 135e073b506260edf8ef8c8764211b734ddd9c7f Mon Sep 17 00:00:00 2001 From: Chumva Date: Mon, 6 Aug 2018 10:30:52 +0300 Subject: [PATCH] create const --- .../src/net/osmand/telegram/ui/LiveNowTabFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd-telegram/src/net/osmand/telegram/ui/LiveNowTabFragment.kt b/OsmAnd-telegram/src/net/osmand/telegram/ui/LiveNowTabFragment.kt index e8fbdda653..6044675f18 100644 --- a/OsmAnd-telegram/src/net/osmand/telegram/ui/LiveNowTabFragment.kt +++ b/OsmAnd-telegram/src/net/osmand/telegram/ui/LiveNowTabFragment.kt @@ -33,6 +33,7 @@ import org.drinkless.td.libcore.telegram.TdApi private const val CHAT_VIEW_TYPE = 0 private const val LOCATION_ITEM_VIEW_TYPE = 1 +private const val LOCATION_TIMEOUT_TO_BE_STALE = (60 * 15) // 15 minutes class LiveNowTabFragment : Fragment(), TelegramListener, TelegramIncomingMessagesListener, FullInfoUpdatesListener, TelegramLocationListener, TelegramCompassListener { @@ -50,7 +51,6 @@ class LiveNowTabFragment : Fragment(), TelegramListener, TelegramIncomingMessage private var location: Location? = null private var heading: Float? = null private var locationUiUpdateAllowed: Boolean = true - private val LOCATION_TIMEOUT_TO_BE_STALE = (60 * 15) // 15 minutes override fun onCreateView( inflater: LayoutInflater,