修复切换设备每次 都选中在第一个
This commit is contained in:
@@ -69,11 +69,7 @@ class MyApp extends StatelessWidget {
|
||||
BlocProvider<DeviceStatusBloc>(create: (_) => sl<DeviceStatusBloc>()),
|
||||
// 其他 Cubit...
|
||||
],
|
||||
child: MaterialApp.router(
|
||||
title: 'Maibu Satabot',
|
||||
theme: AppTheme.lightTheme,
|
||||
routerConfig: sl<GoRouter>(),
|
||||
),
|
||||
child: MaterialApp.router(title: 'Maibu Satabot', theme: AppTheme.lightTheme, routerConfig: sl<GoRouter>()),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user