File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ import 'package:tsdm_client/features/authentication/repository/models/models.dar
1313import 'package:tsdm_client/features/chat/models/models.dart' ;
1414import 'package:tsdm_client/features/editor/widgets/rich_editor.dart' ;
1515import 'package:tsdm_client/features/editor/widgets/toolbar.dart' ;
16+ import 'package:tsdm_client/features/root/models/models.dart' ;
17+ import 'package:tsdm_client/features/root/stream/root_location_stream.dart' ;
1618import 'package:tsdm_client/features/settings/repositories/settings_repository.dart' ;
1719import 'package:tsdm_client/i18n/strings.g.dart' ;
1820import 'package:tsdm_client/instance.dart' ;
@@ -104,8 +106,10 @@ class _ReplyBarWrapperState extends State<ReplyBar> {
104106 ),
105107 );
106108
109+ rootLocationStream.add (const RootLocationEventEnter ('<editor>' ));
107110 widget.controller._showingEditor = true ;
108111 await c.closed;
112+ rootLocationStream.add (const RootLocationEventLeavingLast ());
109113 widget.controller._showingEditor = false ;
110114 }
111115
You can’t perform that action at this time.
0 commit comments