We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be59640 commit 9068b45Copy full SHA for 9068b45
lib/widgets/compose_box.dart
@@ -157,9 +157,7 @@ class ComposeContentController extends ComposeController<ContentValidationError>
157
158
value = value.replaced(
159
replacementRange,
160
- url == null
161
- ? '[Failed to upload file: $filename]()' // TODO(i18n)
162
- : '[$filename](${url.toString()})');
+ url == null ? '' : '[$filename](${url.toString()})');
163
_uploads.remove(tag);
164
notifyListeners(); // _uploads change could affect validationErrors
165
}
0 commit comments