Skip to content
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: visual inconsistency in app_settings #3818

Merged
merged 5 commits into from
Apr 8, 2023

Conversation

Sudhanva-Nadiger
Copy link
Contributor

@Sudhanva-Nadiger Sudhanva-Nadiger commented Mar 26, 2023

  • fix: bottom padding for rate us tile
  • fix: misalignment of share icon refactor: added user_preferences list tile
  • which is used for both rate us and share app tile
  • fix: The rounded corners of the country and the language pickers are different

Screenshot

Fixes bug(s)

  • Fixes:

Part of

- fix: bottom padding for rate us tile
- fix: misalignment of share icon
refactor: added user_preferences list tile
- which is used for both rate us and share app tile
language pickers are different

- added the same border radius to language picker
@codecov-commenter
Copy link

codecov-commenter commented Mar 26, 2023

Codecov Report

Merging #3818 (88eb787) into develop (a7b1335) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop    #3818      +/-   ##
===========================================
- Coverage    10.67%   10.66%   -0.01%     
===========================================
  Files          272      272              
  Lines        13547    13554       +7     
===========================================
  Hits          1446     1446              
- Misses       12101    12108       +7     
Impacted Files Coverage Δ
...app/lib/generic_lib/widgets/language_selector.dart 0.00% <0.00%> (ø)
...b/pages/preferences/user_preferences_settings.dart 6.64% <0.00%> (+0.12%) ⬆️
...ib/pages/preferences/user_preferences_widgets.dart 12.90% <0.00%> (-1.74%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Sudhanva-Nadiger
Copy link
Contributor Author

@g123k added the changes! Thanks

Copy link
Collaborator

@g123k g123k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A small change for the Language selector +
Could you make the icon of the "Native App Settings" to the left, no icons are on the right in this screen

@@ -132,6 +125,24 @@ class LanguageSelectorSettings extends StatelessWidget {
},
);
},
borderRadius: ANGULAR_BORDER_RADIUS,
child: Container(
Copy link
Collaborator

@g123k g123k Mar 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove the Container here, it's totally useless

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yesss I will make the suggested changes!

- remove unnecessary container in language_selector
- inAppsettings tile made the icon leading instead of trailing
@Sudhanva-Nadiger
Copy link
Contributor Author

@g123k I have made the chnges ! sorry for the delay !

@VaiTon VaiTon requested a review from g123k April 3, 2023 20:46
Copy link
Collaborator

@g123k g123k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks better now, thanks for your changes!

@g123k g123k merged commit 7abb9b9 into openfoodfacts:develop Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

4 participants