Hide location-source option, when only one is available #42

Open
Felix Klenner wants to merge 2 commits from location-source into master
Owner
No description provided.
The open flavor only has GPS, so its selection had nothing to choose. A stored source, which is not available in the flavor, like Fused in the open flavor or NMEA, would give no locations, so the default is used instead.
Give the settings items their shapes by their position
All checks were successful
Build and test / Unit tests, lint and debug APK (pull_request) Successful in 2m23s
6236b128a2
The index and the count of each item of a section were counted by hand, which had to be adjusted for every item, that is only shown under a condition. SegmentedItems collects the items of a group and passes each the shapes for its position.
All checks were successful
Build and test / Unit tests, lint and debug APK (pull_request) Successful in 2m23s
Required
Details
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'location-source:location-source'
git switch 'location-source'
Sign in to join this conversation.
No reviewers
No labels
Bug
Feature
Improvement
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
felix/speedoverlay!42
No description provided.