From a01ebe7d8a48621cdb4beadec49102af7a9142a7 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Mon, 11 May 2020 18:21:09 +0200 Subject: [PATCH] Hide back button in tablet mode --- lib/ui/routes/conversation_route.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/routes/conversation_route.dart b/lib/ui/routes/conversation_route.dart index a00c300..a3af03d 100644 --- a/lib/ui/routes/conversation_route.dart +++ b/lib/ui/routes/conversation_route.dart @@ -97,7 +97,7 @@ class _ConversationRouteState extends State { Widget build(BuildContext context) { return Scaffold( appBar: AppBar( - leading: ComunicBackButton(), + leading: isTablet(context) ? null : ComunicBackButton(), title: Text( _conversationName == null ? tr("Loading") : _conversationName, ),