Skip to content

Commit effb4a2

Browse files
committed
Remove tooltip from iconbutton
1 parent da72cfe commit effb4a2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

client/lib/controls/icon_button.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ class IconButtonControl extends StatelessWidget {
2525
Widget build(BuildContext context) {
2626
debugPrint("Button build: ${control.id}");
2727

28-
String? tooltip = control.attrString("tooltip");
2928
IconData? icon = getMaterialIcon(control.attrString("icon", "")!);
3029
Color? iconColor =
3130
HexColor.fromString(context, control.attrString("iconColor", "")!);
@@ -52,13 +51,11 @@ class IconButtonControl extends StatelessWidget {
5251
color: iconColor,
5352
),
5453
iconSize: iconSize,
55-
tooltip: tooltip,
5654
onPressed: onPressed);
5755
} else if (contentCtrls.isNotEmpty) {
5856
button = IconButton(
5957
onPressed: onPressed,
6058
iconSize: iconSize,
61-
tooltip: tooltip,
6259
icon: createControl(control, contentCtrls.first.id, disabled));
6360
} else {
6461
return const ErrorControl(

0 commit comments

Comments
 (0)