mirror of
https://github.com/AppFlowy-IO/AppFlowy
synced 2026-05-23 09:08:24 +00:00
update setting icon
This commit is contained in:
parent
513423a9be
commit
3a1136a8fb
1 changed files with 7 additions and 1 deletions
|
|
@ -1,7 +1,9 @@
|
|||
import 'package:app_flowy/startup/startup.dart';
|
||||
import 'package:app_flowy/workspace/application/menu/menu_user_bloc.dart';
|
||||
import 'package:app_flowy/workspace/presentation/settings/settings_dialog.dart';
|
||||
import 'package:flowy_infra/image.dart';
|
||||
import 'package:flowy_infra/size.dart';
|
||||
import 'package:flowy_infra/theme.dart';
|
||||
import 'package:flowy_infra_ui/style_widget/text.dart';
|
||||
import 'package:flowy_infra_ui/widget/spacing.dart';
|
||||
import 'package:flowy_sdk/protobuf/flowy-user-data-model/protobuf.dart' show UserProfile;
|
||||
|
|
@ -64,6 +66,7 @@ class MenuUser extends StatelessWidget {
|
|||
}
|
||||
|
||||
Widget _renderSettingsButton(BuildContext context) {
|
||||
final theme = context.watch<AppTheme>();
|
||||
return Tooltip(
|
||||
message: LocaleKeys.settings_menu_open.tr(),
|
||||
child: IconButton(
|
||||
|
|
@ -75,7 +78,10 @@ class MenuUser extends StatelessWidget {
|
|||
},
|
||||
);
|
||||
},
|
||||
icon: const Icon(Icons.settings),
|
||||
icon: SizedBox.square(
|
||||
dimension: 20,
|
||||
child: svg("home/settings", color: theme.iconColor),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue