mirror of
https://github.com/AppFlowy-IO/AppFlowy
synced 2026-05-24 09:38:25 +00:00
debug: rerender username properly
This commit is contained in:
parent
29ce171783
commit
a8b560ed93
1 changed files with 2 additions and 1 deletions
|
|
@ -67,6 +67,7 @@ class MenuUser extends StatelessWidget {
|
|||
|
||||
Widget _renderSettingsButton(BuildContext context) {
|
||||
final theme = context.watch<AppTheme>();
|
||||
final userProfile = context.read<MenuUserBloc>().state.userProfile;
|
||||
return Tooltip(
|
||||
message: LocaleKeys.settings_menu_open.tr(),
|
||||
child: IconButton(
|
||||
|
|
@ -74,7 +75,7 @@ class MenuUser extends StatelessWidget {
|
|||
showDialog(
|
||||
context: context,
|
||||
builder: (context) {
|
||||
return SettingsDialog(user);
|
||||
return SettingsDialog(userProfile);
|
||||
},
|
||||
);
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue