1. add an new screen (layout)
2. add TR icon for the bottom tabbar
3. share current location from the TR PP
4. refactor TR manager to properly handle state updates and pass them to the LiveActivityManager and PlacePage
5. add init/update with TrackInfo/EleInfo methods to the PlacePageData and PlacePagePreviewData to update the PP state
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
to pass already formatted by the core values instead of formatting them later using the same core formatters
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
For the expanded iphone mode (in portait) only the searchEverywhere will be used
For the halfscreen everywhere + viewport
For the iPad the everywhere + viewport is always enabled
For the hidden only the viewport
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
During the searching the `searchCount` tracks the progress and notifies the observers (when 0 than completed).
When the crash When the `?edits` command is typed into the search field happens the `searchInViewport` m_onStarted callback is called but m_onStarted is not (in the core). m_onStarted is executed as a separate UI task. But for the `?edits` command it is not executed at all and produces the data race in the `searchCount` and breaks the UI updates for this debug command.
Since the `searchEverywhere` and `searchInViewport` are called simultaneously while typing the query there are no reason to track the `searchInViewport` searches. Only the `searchEverywhere` is enough. `searchInViewport` is not affecting the platform UI at all - its just show the marks on the map.
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
1. update style: bigger fonts and insets
2. update background blur
3. get rid of MWM prefix
4. replace the timer with the simplier dispatch async after. In this case there is no needed to create a timer for each toasts message just to add a timeout
5. reorder Toast class methods
6. replace the instance `show` method with a `static show`. Because there non needed to call show every time. We do not have stored toast that will be showed in different places thane created.
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>