mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
ComunicAppBar => ComunicMobileAppBar
This commit is contained in:
@ -107,23 +107,23 @@ final _menuActionsItem = <_ActionMenuItem>[
|
||||
];
|
||||
|
||||
/// Public widget
|
||||
class ComunicAppBar extends StatefulWidget implements PreferredSizeWidget {
|
||||
class ComunicMobileAppBar extends StatefulWidget implements PreferredSizeWidget {
|
||||
final OnSelectMenuAction onTap;
|
||||
final BarCallbackActions selectedAction;
|
||||
|
||||
const ComunicAppBar(
|
||||
const ComunicMobileAppBar(
|
||||
{Key key, @required this.onTap, @required this.selectedAction})
|
||||
: assert(onTap != null),
|
||||
super(key: key);
|
||||
|
||||
@override
|
||||
_ComunicAppBarState createState() => _ComunicAppBarState();
|
||||
_ComunicMobileAppBarState createState() => _ComunicMobileAppBarState();
|
||||
|
||||
@override
|
||||
Size get preferredSize => Size.fromHeight(40);
|
||||
}
|
||||
|
||||
class _ComunicAppBarState extends SafeState<ComunicAppBar> {
|
||||
class _ComunicMobileAppBarState extends SafeState<ComunicMobileAppBar> {
|
||||
var _unreadNotifications =
|
||||
CountUnreadNotifications(notifications: 0, conversations: 0);
|
||||
|
Reference in New Issue
Block a user