Repository navigation
fix(example): show the Create button before a download starts - #4463
Closed
mickeypause wants to merge 1 commit into
Closed
mickeypause wants to merge 1 commit into
mickeypause wants to merge 1 commit into
Conversation
The Change Offline Region scene only rendered its buttons, Create included, once a download had reported status. Nothing starts a download except Create, so the scene could never download anything.
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The Cache / Offline → Change Offline Region example scene can't download anything. Its buttons, Create included, are rendered inside the status bubble, and that bubble only shows once a download has reported status. The only way to start a download is Create, so the scene shows just the map.
This shows the Create button in a bubble until the first status arrives. After that, the scene works as before.
Found while reproducing #4460.
Screenshots
iPhone 16 Pro simulator, iOS 27.
main)Checklist
CONTRIBUTING.mdyarn generatein the root folder (n/a: example-only change)/exampleapp./example) (n/a: this fixes a sample)Testing
main(map only, no buttons), then with this change: Create appears, and tapping it downloads the pack to completion (18 resources, 66,291,486 bytes).Component to reproduce the issue you're fixing
Open Cache / Offline → Change Offline Region in the example app. On
mainthere's nothing to tap; with this change, tap Create.