@@ -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 (
@@ -1720,10 +1716,10 @@ class _ErrorBanner extends _Banner {
1720
1716
1721
1717
@override
1722
1718
Widget ? buildTrailing (context) {
1723
- // TODO(#720) "x" button goes here.
1724
- // 24px square with 8px touchable padding in all directions?
1725
- // and `bool get padEnd => false`; see Figma:
1726
- // https://www.figma.com/design/1JTNtYo9memgW7vV6d0ygq/Zulip-Mobile?node-id=4031-17029&m=dev
1719
+ // An "x" button can go here.
1720
+ // 24px square with 8px touchable padding in all directions?
1721
+ // and `bool get padEnd => false`; see Figma:
1722
+ // https://www.figma.com/design/1JTNtYo9memgW7vV6d0ygq/Zulip-Mobile?node-id=4031-17029&m=dev
1727
1723
return null ;
1728
1724
}
1729
1725
}
@@ -2061,11 +2057,6 @@ class _ComposeBoxState extends State<ComposeBox> with PerAccountStoreAwareStateM
2061
2057
}
2062
2058
}
2063
2059
2064
- // TODO(#720) dismissable message-send error, maybe something like:
2065
- // if (controller.sendMessageError.value != null) {
2066
- // errorBanner = _ErrorBanner(label:
2067
- // ZulipLocalizations.of(context).errorSendMessageTimeout);
2068
- // }
2069
2060
return ComposeBoxInheritedWidget .fromComposeBoxState (this ,
2070
2061
child: _ComposeBoxContainer (body: body, banner: banner));
2071
2062
}
0 commit comments