|
@@ -3,6 +3,7 @@ import 'package:appflowy/generated/locale_keys.g.dart';
|
|
|
import 'package:appflowy/plugins/document/presentation/more/cubit/document_appearance_cubit.dart';
|
|
|
import 'package:appflowy/plugins/document/presentation/more/font_size_switcher.dart';
|
|
|
import 'package:easy_localization/easy_localization.dart';
|
|
|
+import 'package:flowy_infra_ui/widget/flowy_tooltip.dart';
|
|
|
import 'package:flutter/material.dart';
|
|
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
|
|
|
|
@@ -16,7 +17,6 @@ class DocumentMoreButton extends StatelessWidget {
|
|
|
return PopupMenuButton<int>(
|
|
|
color: Theme.of(context).colorScheme.surfaceVariant,
|
|
|
offset: const Offset(0, 30),
|
|
|
- tooltip: LocaleKeys.moreAction_moreOptions.tr(),
|
|
|
itemBuilder: (context) {
|
|
|
return [
|
|
|
PopupMenuItem(
|
|
@@ -29,10 +29,13 @@ class DocumentMoreButton extends StatelessWidget {
|
|
|
),
|
|
|
];
|
|
|
},
|
|
|
- child: FlowySvg(
|
|
|
- FlowySvgs.details_s,
|
|
|
- size: const Size(18, 18),
|
|
|
- color: Theme.of(context).iconTheme.color,
|
|
|
+ child: FlowyTooltip.delayed(
|
|
|
+ message: LocaleKeys.moreAction_moreOptions.tr(),
|
|
|
+ child: FlowySvg(
|
|
|
+ FlowySvgs.details_s,
|
|
|
+ size: const Size(18, 18),
|
|
|
+ color: Theme.of(context).iconTheme.color,
|
|
|
+ ),
|
|
|
),
|
|
|
);
|
|
|
}
|