1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 21:09:21 +00:00

Fix bad names

This commit is contained in:
Pierre HUBERT 2020-05-06 18:54:32 +02:00
parent 86575a1e86
commit fe163b3c69
4 changed files with 9 additions and 9 deletions

View File

@ -14,7 +14,7 @@ import 'package:comunic/ui/screens/other_friends_lists_screen.dart';
import 'package:comunic/ui/screens/search_screen.dart';
import 'package:comunic/ui/screens/user_access_denied_screen.dart';
import 'package:comunic/ui/screens/user_page_screen.dart';
import 'package:comunic/ui/widgets/mobile_mode/mobile_navbar_widget.dart';
import 'package:comunic/ui/widgets/mobile_mode/mobile_appbar_widget.dart';
import 'package:comunic/utils/account_utils.dart';
import 'package:comunic/utils/intl_utils.dart';
import 'package:comunic/utils/ui_utils.dart';

View File

@ -1,7 +1,7 @@
import 'package:comunic/ui/routes/main_route/main_route.dart';
import 'package:comunic/ui/widgets/tablet_mode/current_user_panel.dart';
import 'package:comunic/ui/widgets/tablet_mode/memberships_panel.dart';
import 'package:comunic/ui/widgets/tablet_mode/tablet_navbar_widget.dart';
import 'package:comunic/ui/widgets/tablet_mode/tablet_appbar_widget.dart';
import 'package:flutter/material.dart';
/// Main tablet route
@ -22,7 +22,7 @@ class _TabletRouteState extends State<TabletRoute> {
);
}
Widget _buildAppBar() => ComunicTabletNavbarWidget();
Widget _buildAppBar() => ComunicTabletAppBarWidget();
Widget _buildBody() => Row(
children: <Widget>[_buildLeftPane(), _buildRightPane()],

View File

@ -5,22 +5,22 @@ import 'package:comunic/ui/widgets/icon_button_badge.dart';
import 'package:comunic/ui/widgets/safe_state.dart';
import 'package:flutter/material.dart';
/// Comunic tablet navbar widget
/// Comunic tablet AppBar widget
///
/// @author Pierre Hubert
class ComunicTabletNavbarWidget extends StatefulWidget
class ComunicTabletAppBarWidget extends StatefulWidget
implements PreferredSizeWidget {
@override
_ComunicTabletNavbarWidgetState createState() =>
_ComunicTabletNavbarWidgetState();
_ComunicTabletAppBarWidgetState createState() =>
_ComunicTabletAppBarWidgetState();
@override
Size get preferredSize => Size.fromHeight(kToolbarHeight);
}
class _ComunicTabletNavbarWidgetState
extends SafeState<ComunicTabletNavbarWidget> {
class _ComunicTabletAppBarWidgetState
extends SafeState<ComunicTabletAppBarWidget> {
var _unreadNotifications =
CountUnreadNotifications(notifications: 0, conversations: 0);