diff --git a/OsmAnd-telegram/src/net/osmand/telegram/TelegramApplication.kt b/OsmAnd-telegram/src/net/osmand/telegram/TelegramApplication.kt index 36cf9da896..25ad8b3306 100644 --- a/OsmAnd-telegram/src/net/osmand/telegram/TelegramApplication.kt +++ b/OsmAnd-telegram/src/net/osmand/telegram/TelegramApplication.kt @@ -45,10 +45,8 @@ class TelegramApplication : Application(), OsmandHelperListener { osmandAidlHelper.listener = object : OsmandAidlHelper.OsmandHelperListener { override fun onOsmandConnectionStateChanged(connected: Boolean) { if (connected) { - val basePackage = "net.osmand.telegram" - val appPackage = if (BuildConfig.DEBUG) "$basePackage.debug" else basePackage osmandAidlHelper.setNavDrawerItems( - appPackage, + applicationContext.packageName, listOf(getString(R.string.app_name)), listOf("osmand_telegram://main_activity"), listOf("ic_action_location_sharing_app"),