Animate retained mobile chat reopening without remounting panes
This commit is contained in:
@@ -1334,7 +1334,8 @@ class _ChatThreadViewState extends State<ChatThreadView> {
|
||||
? null
|
||||
: ChatSessionAvatar(session: session, selected: true),
|
||||
identityHeroTag:
|
||||
session != null &&
|
||||
widget.useNativeBack &&
|
||||
session != null &&
|
||||
MediaQuery.sizeOf(context).width < kListDetailMinWidth &&
|
||||
!(MediaQuery.maybeDisableAnimationsOf(context) ?? false)
|
||||
? 'chat-identity-${widget.sessionId}'
|
||||
|
||||
Reference in New Issue
Block a user