-
Notifications
You must be signed in to change notification settings - Fork 32
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
perf(neon): do not use the spread operator for building lists #1094
Conversation
Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
Draft is on purpose? |
This time yes. |
Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
… lists Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
42d074c
to
22ac4ed
Compare
Oh totally forgot to mark it as ready for review 🤦♀️ |
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.
Oops I forgot about this PR
if (branding.showLoginWithNextcloud) | ||
Padding( | ||
padding: const EdgeInsets.only(top: 10), | ||
child: Text(NeonLocalizations.of(context).loginWorksWith), | ||
), | ||
Text(NeonLocalizations.of(context).loginWorksWith), | ||
const SizedBox( | ||
height: 10, | ||
), | ||
Semantics( | ||
label: NeonLocalizations.of(context).nextcloud, | ||
child: const NextcloudLogo(), | ||
if (branding.showLoginWithNextcloud) |
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.
Duplicate condition, better use a generator function for the whole thing
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.
Duplicate condition -> generator function
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.
Duplicate condition -> generator function
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.
Duplicate condition -> generator function
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.
Duplicate condition -> generator function
Thanks for the feedback. |
Btw please check everything again after rebasing. We mostly touched the dynamite and nextcloud packages in the last few weeks, but maybe there are some new occurrences. |
Closing this one. |
Fixes: #696