Skip to content

Commit

Permalink
fix regression for fix for #5995
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost committed Nov 25, 2024
1 parent 55407c4 commit d9257bd
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,12 @@ class MainActivity :
}
observe(editHistoryViewModel.isShowingSidebar) { isShowingSidebar ->
if (!isShowingSidebar) {
freezeMap()
unfreezeMap()
mapFragment?.clearFocus()
mapFragment?.clearHighlighting()
mapFragment?.pinMode = MainMapFragment.PinMode.QUESTS
} else {
unfreezeMap()
freezeMap()
mapFragment?.hideOverlay()
mapFragment?.pinMode = MainMapFragment.PinMode.EDITS
}
Expand Down

0 comments on commit d9257bd

Please sign in to comment.