Enable back button on client_app chat screen for iOS

automaticallyImplyLeading was set to false, hiding the back arrow.
iOS has no physical back button so this is needed for navigation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-10 10:42:01 +08:00
parent e601e19aab
commit 94ee00cc91

View File

@@ -107,7 +107,7 @@ class _ChatScreenState extends ConsumerState<ChatScreen> {
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
title: Text(widget.mitraName), title: Text(widget.mitraName),
automaticallyImplyLeading: false, automaticallyImplyLeading: true,
actions: [ actions: [
if (chatState is ChatConnectedData && chatState.remainingSeconds != null) if (chatState is ChatConnectedData && chatState.remainingSeconds != null)
Padding( Padding(