mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
use read instead of watch
This commit is contained in:
@ -71,7 +71,7 @@ class CurtainModuleItems extends StatelessWidget with HelperResponsiveLayout {
|
||||
onTap: () => showDialog(
|
||||
context: context,
|
||||
builder: (_) => BlocProvider.value(
|
||||
value: context.watch<CurtainModuleBloc>(),
|
||||
value: context.read<CurtainModuleBloc>(),
|
||||
child: CurtainModulePrefrencesDialog(
|
||||
deviceId: deviceId,
|
||||
curtainModuleStatusModel:
|
||||
|
Reference in New Issue
Block a user