@@ -1290,9 +1290,6 @@ class _SendButtonState extends State<_SendButton> {
1290
1290
controller.content.clear ();
1291
1291
1292
1292
try {
1293
- // TODO(#720) clear content input only on success response;
1294
- // while waiting, put input(s) and send button into a disabled
1295
- // "working on it" state (letting input text be selected for copying).
1296
1293
await store.sendMessage (destination: widget.getDestination (), content: content);
1297
1294
} on ApiRequestException catch (e) {
1298
1295
if (! mounted) return ;
@@ -1384,7 +1381,6 @@ class _ComposeBoxContainer extends StatelessWidget {
1384
1381
border: Border (top: BorderSide (color: designVariables.borderBar)),
1385
1382
boxShadow: ComposeBoxTheme .of (context).boxShadow,
1386
1383
),
1387
- // TODO(#720) try a Stack for the overlaid linear progress indicator
1388
1384
child: Material (
1389
1385
color: designVariables.composeBoxBg,
1390
1386
child: Column (
@@ -1742,10 +1738,10 @@ class _ErrorBanner extends _Banner {
1742
1738
1743
1739
@override
1744
1740
Widget ? buildTrailing (context) {
1745
- // TODO(#720) "x" button goes here.
1746
- // 24px square with 8px touchable padding in all directions?
1747
- // and `bool get padEnd => false`; see Figma:
1748
- // https://www.figma.com/design/1JTNtYo9memgW7vV6d0ygq/Zulip-Mobile?node-id=4031-17029&m=dev
1741
+ // An "x" button can go here.
1742
+ // 24px square with 8px touchable padding in all directions?
1743
+ // and `bool get padEnd => false`; see Figma:
1744
+ // https://www.figma.com/design/1JTNtYo9memgW7vV6d0ygq/Zulip-Mobile?node-id=4031-17029&m=dev
1749
1745
return null ;
1750
1746
}
1751
1747
}
@@ -2083,11 +2079,6 @@ class _ComposeBoxState extends State<ComposeBox> with PerAccountStoreAwareStateM
2083
2079
}
2084
2080
}
2085
2081
2086
- // TODO(#720) dismissable message-send error, maybe something like:
2087
- // if (controller.sendMessageError.value != null) {
2088
- // errorBanner = _ErrorBanner(label:
2089
- // ZulipLocalizations.of(context).errorSendMessageTimeout);
2090
- // }
2091
2082
return ComposeBoxInheritedWidget .fromComposeBoxState (this ,
2092
2083
child: _ComposeBoxContainer (body: body, banner: banner));
2093
2084
}
0 commit comments