diff --git a/lib/views/contactsview.dart b/lib/views/contactsview.dart index d168fea9..0cbe7dd1 100644 --- a/lib/views/contactsview.dart +++ b/lib/views/contactsview.dart @@ -121,6 +121,7 @@ class _ContactsViewState extends State { child: Scaffold( endDrawerEnableOpenDragGesture: false, drawerEnableOpenDragGesture: false, + appBar: AppBar( leading: Stack(children: [ Align( @@ -153,18 +154,19 @@ class _ContactsViewState extends State { }), ) ]), + title: Row(children: [ - ProfileImage( - imagePath: Provider.of(context).isExperimentEnabled(ImagePreviewsExperiment) - ? Provider.of(context).imagePath - : Provider.of(context).defaultImagePath, - diameter: 42, - border: Provider.of(context).getBorderColor(Provider.of(context).theme), - badgeTextColor: Colors.red, - badgeColor: Colors.red, - ), PopupMenuButton( - icon: Icon(Icons.online_prediction), + icon: ProfileImage( + imagePath: Provider.of(context).isExperimentEnabled(ImagePreviewsExperiment) + ? Provider.of(context).imagePath + : Provider.of(context).defaultImagePath, + diameter: 42, + border: Provider.of(context).getBorderColor(Provider.of(context).theme), + badgeTextColor: Colors.red, + badgeColor: Colors.red, + ), + iconSize: 42, tooltip: AppLocalizations.of(context)!.availabilityStatusTooltip, splashRadius: Material.defaultSplashRadius / 2, onSelected: (ProfileStatusMenu item) {