-
-
Notifications
You must be signed in to change notification settings - Fork 197
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
Added choice picker in settings and game settings sheet to switch the clock position to the left side #1136
base: main
Are you sure you want to change the base?
Added choice picker in settings and game settings sheet to switch the clock position to the left side #1136
Conversation
…position to alternate side of screen
…a/lichess-mobile into 1098-feature-change-clock-position
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.
Thanks for this PR. Just a couple of comments, otherwise it looks good.
Made the changes discussed. I honestly stole a bit from the theme selection implementation so I hope the same approach makes sense in this context. Comments are very welcome of course! |
@@ -132,6 +139,7 @@ class BoardPrefs with _$BoardPrefs implements Serializable { | |||
coordinates: true, | |||
pieceAnimation: true, | |||
showMaterialDifference: true, | |||
clockPosition: ClockPosition.left, |
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.
Shouldn't right
be the default to match the current UI?
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.
Yes typo will fix
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.
Fixed
Currently, when the clock is set to I think you can fix this by adding |
@tom-anders I added the snippet to the Row that I think needs it, I am not sure if the other one does. This gives the following layout: This looks like what you were suggesting but let me know if it isn't 🙂 |
Yeah looks good! But I think you also need it to the |
Related to issue #1098
New developer here, I have had a crack at this. If there are omissions or errors or anything I have done incorrectly please just let me know. I am happy to learn more 😄