File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 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
14651465 super .dispose ();
14661466 }
14671467
1468- Widget ? _errorBanner (BuildContext context) {
1468+ /// An [_ErrorBanner] that replaces the compose box's text inputs.
1469+ Widget ? _errorBannerComposingNotAllowed (BuildContext context) {
14691470 final store = PerAccountStoreWidget .of (context);
14701471 switch (widget.narrow) {
14711472 case ChannelNarrow (: final streamId):
@@ -1497,7 +1498,7 @@ class _ComposeBoxState extends State<ComposeBox> with PerAccountStoreAwareStateM
14971498 Widget build (BuildContext context) {
14981499 final Widget ? body;
14991500
1500- final errorBanner = _errorBanner (context);
1501+ final errorBanner = _errorBannerComposingNotAllowed (context);
15011502 if (errorBanner != null ) {
15021503 return _ComposeBoxContainer (body: null , errorBanner: errorBanner);
15031504 }
You can’t perform that action at this time.
0 commit comments