1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-12-14 15:15:42 +00:00

Add friend tab

This commit is contained in:
2021-03-17 17:14:53 +01:00
parent 20e486fe26
commit 160a3e1f27
4 changed files with 41 additions and 8 deletions

View File

@@ -20,6 +20,10 @@ import 'package:flutter/material.dart';
enum _ErrorsLevel { NONE, MINOR, MAJOR }
class FriendsListScreen extends StatefulWidget {
final bool showAppBar;
const FriendsListScreen({Key key, this.showAppBar = true}) : super(key: key);
@override
State<StatefulWidget> createState() => _FriendsListScreenState();
}
@@ -103,9 +107,11 @@ class _FriendsListScreenState extends SafeState<FriendsListScreen> {
@override
Widget build(BuildContext context) => Scaffold(
appBar: AppBar(
title: Text(tr("Your friends list")),
),
appBar: widget.showAppBar
? AppBar(
title: Text(tr("Your friends list")),
)
: null,
body: _buildBody(),
);