Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

chore: fix compile

nathan42d1bb84c544
diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/home/tabs/flowy_tab.dart b/frontend/appflowy_flutter/lib/workspace/presentation/home/tabs/flowy_tab.dart
index 11823300fb..52007a3df7 100644
--- a/frontend/appflowy_flutter/lib/workspace/presentation/home/tabs/flowy_tab.dart
+++ b/frontend/appflowy_flutter/lib/workspace/presentation/home/tabs/flowy_tab.dart
@@ -6,7 +6,6 @@ import 'package:flowy_infra/theme_extension.dart';
import 'package:flowy_infra_ui/style_widget/hover.dart';
import 'package:flowy_infra_ui/style_widget/icon_button.dart';
import 'package:flutter/material.dart';
-import 'package:flutter/widgets.dart';
import 'package:provider/provider.dart';
class FlowyTab extends StatefulWidget {
@@ -24,7 +23,6 @@ class FlowyTab extends StatefulWidget {
}
class _FlowyTabState extends State<FlowyTab> {
- bool _isHovering = false;
@override
Widget build(BuildContext context) {
@@ -72,12 +70,6 @@ class _FlowyTabState extends State<FlowyTab> {
);
}
- void _setHovering([bool isHovering = false]) {
- if (mounted) {
- setState(() => _isHovering = isHovering);
- }
- }
-
Color _getBackgroundColor() {
if (widget.isCurrent) {
return Theme.of(context).colorScheme.onSecondaryContainer;