Device: Settings screen adapts to AirPods connection state#551
Merged
Conversation
- Hide reactions and AAP sections unless device is classically connected - Move advanced-settings-unavailable card to the bottom of the list - Show 'device not nearby' infobox when out of range - Show missing-paired-device banner with edit-profile action - Replace pending banner with snackbar on user-initiated change
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.
What changed
The device settings screen now adapts to your AirPods' current state instead of showing every section at once.
Technical Context
state.isClassicallyConnected. They assume this phone is the audio target (auto-pause / sleep-pause / CA), so showing them in BLE-visible-only state was misleading —NotConnectedCardalready covers that prompt.MissingPairedDeviceBannerfrom the overview cards. NewnavToEditProfile()on the viewmodel routes toNav.Main.DeviceProfileCreation. Every other state card is gated ondevice.hasSelectedPairedDeviceto avoid double-messaging.false→truetransition ofhasPendingSettings, withnullinitial state to avoid firing on screen entry when something was already pending. No new strings —device_settings_pending_infois reused.Review checklist