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 @@ -1521,7 +1521,8 @@ class _ComposeBoxState extends State<ComposeBox> with PerAccountStoreAwareStateM
1521
1521
super .dispose ();
1522
1522
}
1523
1523
1524
- Widget ? _errorBanner (BuildContext context) {
1524
+ /// An [_ErrorBanner] that replaces the compose box's text inputs.
1525
+ Widget ? _errorBannerComposingNotAllowed (BuildContext context) {
1525
1526
final store = PerAccountStoreWidget .of (context);
1526
1527
switch (widget.narrow) {
1527
1528
case ChannelNarrow (: final streamId):
@@ -1553,7 +1554,7 @@ class _ComposeBoxState extends State<ComposeBox> with PerAccountStoreAwareStateM
1553
1554
Widget build (BuildContext context) {
1554
1555
final Widget ? body;
1555
1556
1556
- final errorBanner = _errorBanner (context);
1557
+ final errorBanner = _errorBannerComposingNotAllowed (context);
1557
1558
if (errorBanner != null ) {
1558
1559
return _ComposeBoxContainer (body: null , errorBanner: errorBanner);
1559
1560
}
You can’t perform that action at this time.
0 commit comments