mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
fix & opt.
- fix: `sftpGoPath` - opt.: `PersistentStore.toJson` - rm: `first` store - opt.: log print
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import 'package:get_it/get_it.dart';
|
||||
import 'package:toolbox/data/store/first.dart';
|
||||
|
||||
import 'data/provider/app.dart';
|
||||
import 'data/provider/debug.dart';
|
||||
@@ -58,10 +57,6 @@ Future<void> _setupLocatorForStores() async {
|
||||
final history = HistoryStore();
|
||||
await history.init();
|
||||
locator.registerSingleton(history);
|
||||
|
||||
final first = FirstStore();
|
||||
await first.init();
|
||||
locator.registerSingleton(first);
|
||||
}
|
||||
|
||||
Future<void> setupLocator() async {
|
||||
|
||||
Reference in New Issue
Block a user