File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ TextSpan buildTextSpan({
84
84
85
85
void _onEmailOpen (String emailAddress) {
86
86
if (onEmailOpen != null ) {
87
- onEmailOpen (emailAddress); // TODO: discussable; add "mailto:" here for immediate use with url_launcher or except developers to do it themselves
87
+ onEmailOpen (emailAddress); // TODO: discussable; add "mailto:" here for immediate use with url_launcher or expect developers to do it themselves
88
88
}
89
89
}
90
90
@@ -110,10 +110,10 @@ TextSpan buildTextSpan({
110
110
);
111
111
} else if (element is EmailElement ) {
112
112
return TextSpan (
113
- text: element.text,
114
- style: linkStyle,
115
- recognizer: TapGestureRecognizer ()
116
- ..onTap = () => _onEmailOpen (element.emailAddress),
113
+ text: element.text,
114
+ style: linkStyle,
115
+ recognizer: TapGestureRecognizer ()
116
+ ..onTap = () => _onEmailOpen (element.emailAddress),
117
117
);
118
118
}
119
119
},
You can’t perform that action at this time.
0 commit comments