mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix flutter warnings
This commit is contained in:
parent
a529a3bf43
commit
18c3e37c1d
@ -7,8 +7,8 @@ import 'package:get_it/get_it.dart';
|
||||
|
||||
class HomeDepsResolver {
|
||||
static Future<void> resolve(GetIt getIt) async {
|
||||
getIt.registerLazySingleton<WorkspaceRepository>(
|
||||
() => WorkspaceRepository());
|
||||
getIt.registerFactoryParam<WorkspaceRepository, String, void>(
|
||||
(workspaceId, _) => WorkspaceRepository(workspaceId: workspaceId));
|
||||
|
||||
getIt.registerFactoryParam<AppRepository, String, void>(
|
||||
(appId, _) => AppRepository(appId: appId));
|
||||
|
@ -1,6 +1,3 @@
|
||||
import 'package:app_flowy/home/application/edit_pannel/edit_pannel_bloc.dart';
|
||||
import 'package:app_flowy/home/application/home_bloc.dart';
|
||||
|
||||
import 'package:app_flowy/home/presentation/home_screen.dart';
|
||||
import 'package:app_flowy/user/presentation/sign_in/sign_in_screen.dart';
|
||||
import 'package:app_flowy/welcome/domain/auth_state.dart';
|
||||
|
Loading…
Reference in New Issue
Block a user