1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-26 14:59:22 +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) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
leading: ComunicBackButton(), leading: isTablet(context) ? null : ComunicBackButton(),
title: Text( title: Text(
_conversationName == null ? tr("Loading") : _conversationName, _conversationName == null ? tr("Loading") : _conversationName,
), ),