1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-12-24 11:58:51 +00:00

Hide back button in tablet mode

This commit is contained in:
Pierre HUBERT 2020-05-11 18:21:09 +02:00
parent f4ced0324c
commit a01ebe7d8a

View File

@ -97,7 +97,7 @@ class _ConversationRouteState extends State<ConversationRoute> {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
leading: ComunicBackButton(),
leading: isTablet(context) ? null : ComunicBackButton(),
title: Text(
_conversationName == null ? tr("Loading") : _conversationName,
),