Animate retained mobile chat reopening without remounting panes
This commit is contained in:
@@ -24,6 +24,7 @@ import 'conversation/chat_add_pane_picker.dart';
|
||||
import 'conversation/chat_sidebar_controls.dart';
|
||||
import 'ui/sessions/chat_compact_sidebar.dart';
|
||||
import 'workspace/chat_workspace.dart';
|
||||
import 'workspace/chat_workspace_entrance.dart';
|
||||
import 'ui/sessions/chat_adaptive.dart';
|
||||
import 'conversation/chat_row_widgets.dart';
|
||||
import 'conversation/chat_scroll.dart';
|
||||
@@ -572,8 +573,10 @@ class _ChatScreenState extends State<ChatScreen>
|
||||
offstage: selected != null,
|
||||
child: ExcludeFocus(excluding: selected != null, child: list),
|
||||
),
|
||||
Offstage(
|
||||
offstage: selected == null,
|
||||
ChatWorkspaceEntrance(
|
||||
visible: selected != null,
|
||||
cupertino:
|
||||
chatControlsStyleOf(context) == ChatControlsStyle.cupertino,
|
||||
child: ExcludeFocus(
|
||||
excluding: selected == null,
|
||||
child: MediaQuery(
|
||||
|
||||
Reference in New Issue
Block a user