Activity Indicator Demo: Dynamic start/stop activity button title #1958
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.
Platforms Impacted
Description of changes
Updated title of action button in the settings of ActivityIndicator demo page. The title is now dynamic and changes based on the state of the activity indicators below.
In the iOS demo app, open ActivityIndicator. The button in the second section (Settings) will now read "Stop Activity". If you tap that, the activity indicators below will stop spinning (and also hide if that is enabled) and the button title will change to "Start Activity".
Previously the button was named "Start/Stop Activity" which did not exactly represent the state of the activity indicators below.
Binary change
No change in binary size as the change is only in the iOS demo app.
Verification
Visual Verification
Before
CleanShot.2024-01-26.at.18.14.22.mp4
After
CleanShot.2024-01-26.at.16.51.59.mp4
Pull request checklist
This PR has considered:
Microsoft Reviewers: Open in CodeFlow