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/search_screen.dart';
import 'package:comunic/ui/screens/user_access_denied_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/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/account_utils.dart';
import 'package:comunic/utils/intl_utils.dart'; import 'package:comunic/utils/intl_utils.dart';
import 'package:comunic/utils/ui_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/routes/main_route/main_route.dart';
import 'package:comunic/ui/widgets/tablet_mode/current_user_panel.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/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'; import 'package:flutter/material.dart';
/// Main tablet route /// Main tablet route
@ -22,7 +22,7 @@ class _TabletRouteState extends State<TabletRoute> {
); );
} }
Widget _buildAppBar() => ComunicTabletNavbarWidget(); Widget _buildAppBar() => ComunicTabletAppBarWidget();
Widget _buildBody() => Row( Widget _buildBody() => Row(
children: <Widget>[_buildLeftPane(), _buildRightPane()], 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:comunic/ui/widgets/safe_state.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
/// Comunic tablet navbar widget /// Comunic tablet AppBar widget
/// ///
/// @author Pierre Hubert /// @author Pierre Hubert
class ComunicTabletNavbarWidget extends StatefulWidget class ComunicTabletAppBarWidget extends StatefulWidget
implements PreferredSizeWidget { implements PreferredSizeWidget {
@override @override
_ComunicTabletNavbarWidgetState createState() => _ComunicTabletAppBarWidgetState createState() =>
_ComunicTabletNavbarWidgetState(); _ComunicTabletAppBarWidgetState();
@override @override
Size get preferredSize => Size.fromHeight(kToolbarHeight); Size get preferredSize => Size.fromHeight(kToolbarHeight);
} }
class _ComunicTabletNavbarWidgetState class _ComunicTabletAppBarWidgetState
extends SafeState<ComunicTabletNavbarWidget> { extends SafeState<ComunicTabletAppBarWidget> {
var _unreadNotifications = var _unreadNotifications =
CountUnreadNotifications(notifications: 0, conversations: 0); CountUnreadNotifications(notifications: 0, conversations: 0);