File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
frontend/app_flowy/lib/workspace/presentation/home Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ import 'home_stack.dart';
1818import 'menu/menu.dart' ;
1919
2020class 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) {
Original file line number Diff line number Diff line change @@ -21,8 +21,6 @@ import 'package:flowy_infra/notifier.dart';
2121typedef NavigationCallback = void Function (String id);
2222
2323class HomeStack extends StatelessWidget {
24- static GlobalKey <ScaffoldState > scaffoldKey = GlobalKey ();
25- // final Size size;
2624 const HomeStack ({Key ? key}) : super (key: key);
2725
2826 @override
You can’t perform that action at this time.
0 commit comments