-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Switch Off Track Color - Fixes #10099 #10758
Merged
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
786613e
Add a default color to the track in the off position
0292d5d
Merge remote-tracking branch 'origin/main' into FixSwitchTrackColor
ee176d7
remove unneeded using statement
8b91c27
Use UIColor to handle dark mode
890ddd5
remove noise
614cc22
Merge remote-tracking branch 'origin/main' into FixSwitchTrackColor
60ea991
Merge remote-tracking branch 'origin/main' into FixSwitchTrackColor
47b8af2
Add tests and add null checks for getting subviews
6bf4edf
add new lines
6defdbe
Merge branch 'main' into FixSwitchTrackColor
tj-devel709 bf7d903
Merge remote-tracking branch 'origin/main' into FixSwitchTrackColor
feb48a7
Move the tests into the iOS Test
11db0f9
remove UIKit on the shared file
dbfb115
- fix checkbox test
PureWeen cd6f4b4
fix style
f0c1b46
Merge remote-tracking branch 'origin/main' into FixSwitchTrackColor
e366576
removing the few unneeded changes
84b29ff
move the code from the mapper to the extensions
c887721
Merge branch 'main' into FixSwitchTrackColor
PureWeen 34743d5
move from extension to mapper and use FirstOrDefault
f8a41d2
Merge remote-tracking branch 'TJ/FixSwitchTrackColor' into FixSwitchT…
d210eff
Merge remote-tracking branch 'origin/main' into FixSwitchTrackColor
de13bee
Auto-format source code
b2eae95
change test name and make color a static var
daf8876
Merge remote-tracking branch 'TJ/FixSwitchTrackColor' into FixSwitchT…
92bc1f9
use Manuels NoLink alternative
f34cc10
move to arrayExtensions and use different implementation
50fbc8f
allow param to be null
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mandel-macaque this look alright to you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but I am surprise the compiler is not printing a warning with nullability enabled saying something like 'items is not set as nullable'. I think we probably want to do something like:
Right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at FirstOrDefaults behavior, this sounds like the correct approach :)