File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1465,7 +1465,8 @@ class _ComposeBoxState extends State<ComposeBox> with PerAccountStoreAwareStateM
1465
1465
super .dispose ();
1466
1466
}
1467
1467
1468
- Widget ? _errorBanner (BuildContext context) {
1468
+ /// An [_ErrorBanner] that replaces the compose box's text inputs.
1469
+ Widget ? _errorBannerComposingNotAllowed (BuildContext context) {
1469
1470
final store = PerAccountStoreWidget .of (context);
1470
1471
switch (widget.narrow) {
1471
1472
case ChannelNarrow (: final streamId):
@@ -1497,7 +1498,7 @@ class _ComposeBoxState extends State<ComposeBox> with PerAccountStoreAwareStateM
1497
1498
Widget build (BuildContext context) {
1498
1499
final Widget ? body;
1499
1500
1500
- final errorBanner = _errorBanner (context);
1501
+ final errorBanner = _errorBannerComposingNotAllowed (context);
1501
1502
if (errorBanner != null ) {
1502
1503
return _ComposeBoxContainer (body: null , errorBanner: errorBanner);
1503
1504
}
You can’t perform that action at this time.
0 commit comments