refactor
This commit is contained in:
parent
198f5d644e
commit
710c435c4d
1 changed files with 2 additions and 2 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue