修复切换设备每次 都选中在第一个

This commit is contained in:
mmc
2026-03-05 10:01:02 +08:00
parent 612b128f7a
commit 22c62006af
4 changed files with 86 additions and 193 deletions

View File

@@ -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>()),
);
}
}