diff --git a/app/src/main/kotlin/io/github/getsixtyfour/openpyn/Utilities.kt b/app/src/main/kotlin/io/github/getsixtyfour/openpyn/Utilities.kt index 1b426fcb..c0d1ba02 100644 --- a/app/src/main/kotlin/io/github/getsixtyfour/openpyn/Utilities.kt +++ b/app/src/main/kotlin/io/github/getsixtyfour/openpyn/Utilities.kt @@ -143,7 +143,10 @@ fun onSettingsItemSelected(activity: T, @Suppress("UNUSED_PARAMET } fun setProgressToolBar( - activity: T, toolbar: ProgressToolbar, showHomeAsUp: Boolean = false, showTitle: Boolean = false + activity: T, + toolbar: ProgressToolbar, + showHomeAsUp: Boolean = false, + showTitle: Boolean = false ) { toolbar.hideProgress() toolbar.isIndeterminate = true diff --git a/app/src/main/kotlin/io/github/getsixtyfour/openpyn/map/MapControlTower.kt b/app/src/main/kotlin/io/github/getsixtyfour/openpyn/map/MapControlTower.kt index 43bfd320..372bbbd9 100644 --- a/app/src/main/kotlin/io/github/getsixtyfour/openpyn/map/MapControlTower.kt +++ b/app/src/main/kotlin/io/github/getsixtyfour/openpyn/map/MapControlTower.kt @@ -395,8 +395,8 @@ class MapControlTower : SVC_MapControlTower(), AnkoLogger, OnMapReadyCallback, O it.setOnMapLoadedCallback(this) // todo - //val params = fab1.layoutParams as ConstraintLayout.LayoutParams - //it.setPadding(0, 0, 0, params.height + params.bottomMargin) + // val params = fab1.layoutParams as ConstraintLayout.LayoutParams + // it.setPadding(0, 0, 0, params.height + params.bottomMargin) it.uiSettings?.isScrollGesturesEnabled = true it.uiSettings?.isZoomGesturesEnabled = true