mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-04 20:03:45 +00:00
Compare commits
1 Commits
v2025.10.0
...
hb0nd-exit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
674f681197 |
@@ -220,6 +220,9 @@ public final class UiUtils
|
||||
: ContextCompat.getColor(layout.getContext(), R.color.base_red));
|
||||
}
|
||||
|
||||
/*
|
||||
* Hide the Android UI elements
|
||||
*/
|
||||
public static void setFullscreen(@NonNull Activity activity, boolean fullscreen)
|
||||
{
|
||||
final Window window = activity.getWindow();
|
||||
|
||||
@@ -675,6 +675,9 @@ public class PlacePageController
|
||||
mPlacePageBehavior.addBottomSheetCallback(mDefaultBottomSheetCallback);
|
||||
mViewModel.getMapObject().observe(requireActivity(), this);
|
||||
mViewModel.getPlacePageDistanceToTop().observe(requireActivity(), mPlacePageDistanceToTopObserver);
|
||||
|
||||
// Re-enable UI when POI tapped if in fullscreen mode
|
||||
UiUtils.setFullscreen(false);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user