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

1853: Fix the style of dialogs in the app #1857

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

seluianova
Copy link
Contributor

@seluianova seluianova commented Jan 9, 2025

Short description

Fix styling issues in the dialogs

Proposed changes

  • Add CustomAlertDialog widget and re-use it to unify the style of dialogs

Side effects

Couldn't find any

Testing

Check different dialogs in the app (I believe I checked every dialog I touched)

Resolved issues

Fixes: #1853
Fixes: #1846

And some other findings, like

image

@@ -44,7 +44,7 @@
"limitReached": "Ihr Passlimit wurde erreicht. Bitte entfernen Sie vorher einen Pass, damit Sie einen neuen aktivieren können.",
"buttonText": "Pass aktivieren",
"invalidCode": "Ihr Aktivierungscode ist ungültig.",
"alreadyExists": "Dieser Pass wurde bereits auf dem Gerät aktiviert.",
"alreadyExists": "Dieser Pass wurde bereits auf diesem Gerät aktiviert.",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

just a small nitpick, it's "this device" in the english version

controlAffinity: ListTileControlAffinity.leading,
contentPadding: EdgeInsets.zero,
visualDensity: VisualDensity.compact,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed text size and padding a bit, I think it looks better this way

Before:
image

After:
image

Copy link
Contributor

Choose a reason for hiding this comment

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

this is the view for the static card verification?
looks good. Just ensure that the cards of other projects still work

Copy link
Contributor Author

@seluianova seluianova Jan 9, 2025

Choose a reason for hiding this comment

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

this is the view for the static card verification?

yes

Just ensure that the cards of other projects still work

I checked Nürnberg as well, but feel free to double check

Copy link
Contributor

@f1sh1918 f1sh1918 left a comment

Choose a reason for hiding this comment

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

Tested on android and ios.
Nicely done 👍
Good refactoring, couldn't find any issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RenderFlex overflowed error in the card verification dialog Increase alert text font size
2 participants