chore: update workspace button tooltip sytle

This commit is contained in:
Lucas.Xu 2024-07-27 22:50:04 +08:00
parent 7654e59430
commit 2a3c915fe4

View File

@ -1,5 +1,6 @@
import 'dart:io'; import 'dart:io';
import 'package:flowy_infra_ui/widget/flowy_tooltip.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart'; import 'package:google_fonts/google_fonts.dart';
@ -201,7 +202,7 @@ class FlowyText extends StatelessWidget {
} }
if (withTooltip) { if (withTooltip) {
child = Tooltip( child = FlowyTooltip(
message: text, message: text,
child: child, child: child,
); );