Fixed typo Tab to run to Tap to run.

This commit is contained in:
Faris Armoush
2025-05-12 12:06:37 +03:00
parent ef29d78d70
commit c7fef11aec
5 changed files with 7 additions and 7 deletions

View File

@ -536,7 +536,7 @@ class RoutineBloc extends Bloc<RoutineEvent, RoutineState> {
// 'entityId': 'tab_to_run', // 'entityId': 'tab_to_run',
// 'uniqueCustomId': const Uuid().v4(), // 'uniqueCustomId': const Uuid().v4(),
// 'deviceId': 'tab_to_run', // 'deviceId': 'tab_to_run',
// 'title': 'Tab to run', // 'title': 'Tap to run',
// 'productType': 'tab_to_run', // 'productType': 'tab_to_run',
// 'imagePath': Assets.tabToRun, // 'imagePath': Assets.tabToRun,
// } // }
@ -771,7 +771,7 @@ class RoutineBloc extends Bloc<RoutineEvent, RoutineState> {
'entityId': 'tab_to_run', 'entityId': 'tab_to_run',
'uniqueCustomId': const Uuid().v4(), 'uniqueCustomId': const Uuid().v4(),
'deviceId': 'tab_to_run', 'deviceId': 'tab_to_run',
'title': 'Tab to run', 'title': 'Tap to run',
'productType': 'tab_to_run', 'productType': 'tab_to_run',
'imagePath': Assets.tabToRun, 'imagePath': Assets.tabToRun,
} }

View File

@ -162,7 +162,7 @@ class SaveRoutineHelper {
width: 24, width: 24,
height: 24, height: 24,
), ),
title: const Text('Tab to run'), title: const Text('Tap to run'),
), ),
if (state.isAutomation) if (state.isAutomation)
...state.ifItems.map((item) { ...state.ifItems.map((item) {

View File

@ -29,11 +29,11 @@ class ConditionsRoutinesDevicesView extends StatelessWidget {
children: [ children: [
DraggableCard( DraggableCard(
imagePath: Assets.tabToRun, imagePath: Assets.tabToRun,
title: 'Tab to run', title: 'Tap to run',
deviceData: { deviceData: {
'deviceId': 'tab_to_run', 'deviceId': 'tab_to_run',
'type': 'trigger', 'type': 'trigger',
'name': 'Tab to run', 'name': 'Tap to run',
}, },
), ),
DraggableCard( DraggableCard(

View File

@ -43,7 +43,7 @@ class IfContainer extends StatelessWidget {
children: [ children: [
DraggableCard( DraggableCard(
imagePath: Assets.tabToRun, imagePath: Assets.tabToRun,
title: 'Tab to run', title: 'Tap to run',
deviceData: {}, deviceData: {},
), ),
], ],

View File

@ -26,7 +26,7 @@ class FetchRoutineScenesAutomation extends StatelessWidget
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
_buildListTitle(context, "Scenes (Tab to Run)"), _buildListTitle(context, "Scenes (Tap to Run)"),
const SizedBox(height: 10), const SizedBox(height: 10),
Visibility( Visibility(
visible: state.scenes.isNotEmpty, visible: state.scenes.isNotEmpty,