This commit fix the way `FeatureId` is checked in `MapObject.equals()`.
Instead of checking if `mFeatureId` and `other.getFeatureId()` are not `FeatureId.EMPTY`, it now uses a new `isRealId()` method in `FeatureId` to determine if the IDs are valid for comparison.
The `isRealId()` method checks if the `mMwmName` is not empty, `mMwmVersion` is greater than 0, and `mFeatureIndex` is greater than 0. This provides a more robust check for valid feature IDs.
Signed-off-by: Mihail Mitrofanov <mitrofanov@bitrix.ru>
ported from the big PR. Addresses the issue of the theme not changing when there's no location fix by setting to night at 6pm (still checks when sunset is if you have a location fix)
Signed-off-by: Harry Bond <me@hbond.xyz>
ported from the big PR. Addresses the issue of the theme not changing when there's no location fix by setting to night at 6pm (still checks when sunset is if you have a location fix)
Signed-off-by: Harry Bond <me@hbond.xyz>
Fixes#8915
When on fullscreen mode, after selecting "Route to", the app leaves
fullscreen mode when initiating the navigation window. The same was
not happening when navigating in "Route from" mode, and it was only
possible to leave fullscreen mode after leaving the navigation window.
This commit fixes that bug, ensuring that the app leaves fullscreen
mode when entering "Route from" navigation. Fullscreen mode can then
be set again after exiting navigation.
Signed-off-by: David Toma <david.toma@tecnico.ulisboa.pt>
This patch removes the "Photos, reviews, booking" referral link displayed for certain hotels.
Apologies to all users who experienced moral distress due to this integration. Thanks to everyone
who spoke up. It should’ve been removed a year ago. Let's close this chapter. Better late than
never. Zap it! Sorry again.
Relevant discussions:
- https://github.com/organicmaps/organicmaps/pull/6523
- https://gitlab.com/fdroid/fdroiddata/-/merge_requests/14082
Commits reverted:
51b3fc99 Add "Details on ..." button to hotels
eee51c1b Rename "More on KAYAK"
2f1b6ce0 Add a setting to display Kayak links
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>