new: rebuild impl

This commit is contained in:
lollipopkit
2023-09-21 19:24:05 +08:00
parent 453eb200a8
commit cc4a05bf11
7 changed files with 51 additions and 60 deletions

View File

@@ -31,7 +31,6 @@ import 'data/provider/virtual_keyboard.dart';
import 'data/res/color.dart';
import 'locator.dart';
import 'view/widget/custom_appbar.dart';
import 'view/widget/rebuild.dart';
Future<void> main() async {
_runInZone(() async {
@@ -48,9 +47,7 @@ Future<void> main() async {
ChangeNotifierProvider(create: (_) => locator<PrivateKeyProvider>()),
ChangeNotifierProvider(create: (_) => locator<SftpProvider>()),
],
child: const RebuildWidget(
child: MyApp(),
),
child: const MyApp(),
),
);
});