Skip to content

Commit 6bf1d9c

Browse files
committed
chore: fix grid scollbar not visible after screen size changed
1 parent 7c03924 commit 6bf1d9c

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

frontend/app_flowy/lib/workspace/presentation/home/home_screen.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import 'home_stack.dart';
1818
import 'menu/menu.dart';
1919

2020
class HomeScreen extends StatefulWidget {
21-
static GlobalKey<ScaffoldState> scaffoldKey = GlobalKey();
2221
final UserProfile user;
2322
final CurrentWorkspaceSetting workspaceSetting;
2423
const HomeScreen(this.user, this.workspaceSetting, {Key? key}) : super(key: key);
@@ -52,7 +51,6 @@ class _HomeScreenState extends State<HomeScreen> {
5251
),
5352
],
5453
child: Scaffold(
55-
key: HomeScreen.scaffoldKey,
5654
body: BlocListener<HomeBloc, HomeState>(
5755
listenWhen: (p, c) => p.unauthorized != c.unauthorized,
5856
listener: (context, state) {

frontend/app_flowy/lib/workspace/presentation/home/home_stack.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ import 'package:flowy_infra/notifier.dart';
2121
typedef NavigationCallback = void Function(String id);
2222

2323
class HomeStack extends StatelessWidget {
24-
static GlobalKey<ScaffoldState> scaffoldKey = GlobalKey();
25-
// final Size size;
2624
const HomeStack({Key? key}) : super(key: key);
2725

2826
@override

0 commit comments

Comments
 (0)