Skip to content

Commit

Permalink
ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmateos authored and Balcan committed Nov 8, 2024
1 parent 48946aa commit 462628f
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,10 @@ class MapSelectorViewModel(

private fun canCaptureWithSwipe() = featureType == FeatureType.POINT &&
_screenState.value.isManualCaptureEnabled &&
(_screenState.value.selectedLocation !is SelectedLocation.None ||
_screenState.value.captureMode.isManual())
(
_screenState.value.selectedLocation !is SelectedLocation.None ||
_screenState.value.captureMode.isManual()
)

fun canCaptureManually(): Boolean {
return _screenState.value.isManualCaptureEnabled
Expand Down

0 comments on commit 462628f

Please sign in to comment.