This commit is contained in:
veliymolfar 2020-01-10 11:50:51 +02:00
parent 198f5d644e
commit 710c435c4d

View file

@ -484,10 +484,10 @@ class MyLocationTabFragment : Fragment(), TelegramListener {
if (sharingMode) 0 else AppBarLayout.LayoutParams.SCROLL_FLAG_SCROLL
stopSharingSwitcher.isChecked = true
appBarScrollRange = -1
updateBackToOsmBtn()
updateBackToOsmAndBtn()
}
private fun updateBackToOsmBtn() {
private fun updateBackToOsmAndBtn() {
val pckg = app.settings.appToConnectPackage
backToOsmAndBtn.apply {
visibility = if (pckg.isNotEmpty() && sharingMode && AndroidUtils.isAppInstalled(app, pckg)) {