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

Tomyeh improvements #170

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Tomyeh improvements #170

wants to merge 5 commits into from

Conversation

close2
Copy link
Collaborator

@close2 close2 commented Mar 28, 2021

No description provided.

close2 added 3 commits March 28, 2021 03:00
issue #167 reported a bug in line 197.

I am not really sure, why the dart analyzer doesn't warn us that the types could be different.
Setting the type of `text` to `String` (instead of `String?`) and giving it '' as initial value
should fix this bug.

Address([this.mailAddress, this.name]);
const Address(this.mailAddress, [this.name]);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Do we always require an address?

@@ -173,7 +173,7 @@ class _IRContentAttachment extends _IRContent {
enum _IRTextType { plain, html }

class _IRContentText extends _IRContent {
String? _text;
String _text = '';
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This should fix the bug mentioned in #167

close2 added 2 commits March 30, 2021 02:53
will improve commit message later
fixes issue #172
fixes issue #171
fixes issue #167
fixes issue #152

improved document for cid (issue #104)
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.

1 participant