mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-08-25 15:39:40 +00:00
change all routine words into automation
This commit is contained in:
@ -479,7 +479,7 @@ class HomeCubit extends Cubit<HomeState> {
|
|||||||
// onPressed: () {},
|
// onPressed: () {},
|
||||||
// ),
|
// ),
|
||||||
],
|
],
|
||||||
'Routine': [
|
'Automation': [
|
||||||
// IconButton(
|
// IconButton(
|
||||||
// icon: Image.asset(
|
// icon: Image.asset(
|
||||||
// Assets.assetsIconsFilter,
|
// Assets.assetsIconsFilter,
|
||||||
@ -553,7 +553,7 @@ class HomeCubit extends Cubit<HomeState> {
|
|||||||
static Map<String, Widget?> appBarLeading = {
|
static Map<String, Widget?> appBarLeading = {
|
||||||
// 'Dashboard': const AppBarHomeDropdown(),
|
// 'Dashboard': const AppBarHomeDropdown(),
|
||||||
'Devices': const AppBarHomeDropdown(),
|
'Devices': const AppBarHomeDropdown(),
|
||||||
'Routine': const AppBarHomeDropdown(),
|
'Automation': const AppBarHomeDropdown(),
|
||||||
'Menu': Padding(
|
'Menu': Padding(
|
||||||
padding: const EdgeInsets.only(left: 15),
|
padding: const EdgeInsets.only(left: 15),
|
||||||
child: Image.asset(
|
child: Image.asset(
|
||||||
|
@ -100,7 +100,7 @@ class SceneView extends StatelessWidget {
|
|||||||
initiallyExpanded: true,
|
initiallyExpanded: true,
|
||||||
iconColor: ColorsManager.grayColor,
|
iconColor: ColorsManager.grayColor,
|
||||||
title: const BodyMedium(
|
title: const BodyMedium(
|
||||||
text: 'Tap to run routines',
|
text: 'Tap to run automations',
|
||||||
),
|
),
|
||||||
children: [
|
children: [
|
||||||
if (scenes.isNotEmpty)
|
if (scenes.isNotEmpty)
|
||||||
|
@ -23,7 +23,7 @@ class DeleteRoutineDialog extends StatelessWidget {
|
|||||||
height: 10,
|
height: 10,
|
||||||
),
|
),
|
||||||
const BodyLarge(
|
const BodyLarge(
|
||||||
text: 'Delete Routine',
|
text: 'Delete Automation',
|
||||||
fontWeight: FontWeight.w700,
|
fontWeight: FontWeight.w700,
|
||||||
fontColor: ColorsManager.red,
|
fontColor: ColorsManager.red,
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
@ -39,7 +39,7 @@ class DeleteRoutineDialog extends StatelessWidget {
|
|||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
Center(child: const Text('Are you sure you want to ')),
|
Center(child: const Text('Are you sure you want to ')),
|
||||||
Center(child: const Text('delete the routine?'))
|
Center(child: const Text('delete the automation?'))
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -52,7 +52,7 @@ class DeleteRoutineButton extends StatelessWidget {
|
|||||||
},
|
},
|
||||||
child: const Center(
|
child: const Center(
|
||||||
child: Text(
|
child: Text(
|
||||||
'Remove Routine',
|
'Remove Automation',
|
||||||
style: TextStyle(color: ColorsManager.red),
|
style: TextStyle(color: ColorsManager.red),
|
||||||
))
|
))
|
||||||
// : SceneListTile(
|
// : SceneListTile(
|
||||||
|
@ -9,7 +9,7 @@ class EmptyDevicesWidget extends StatelessWidget {
|
|||||||
return Padding(
|
return Padding(
|
||||||
padding: const EdgeInsets.symmetric(vertical: 48),
|
padding: const EdgeInsets.symmetric(vertical: 48),
|
||||||
child: Text(
|
child: Text(
|
||||||
"No routines.\nEnable 'Show on Home Screen' to add routines",
|
"No automations.\nEnable 'Show on Home Screen' to add automations",
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: ColorsManager.grayColor,
|
color: ColorsManager.grayColor,
|
||||||
|
@ -23,7 +23,7 @@ class EmptyRoutinesWidget extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
BodyMedium(
|
BodyMedium(
|
||||||
text: 'No Routines yet',
|
text: 'No automations yet',
|
||||||
fontColor: ColorsManager.textGray,
|
fontColor: ColorsManager.textGray,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -5,7 +5,7 @@ class StringsManager {
|
|||||||
static const String dashboard = 'Dashboard';
|
static const String dashboard = 'Dashboard';
|
||||||
static const String devices = 'Devices';
|
static const String devices = 'Devices';
|
||||||
static const String routine = 'Automation';
|
static const String routine = 'Automation';
|
||||||
static const String tapToRunRoutine = 'Tap to run routine';
|
static const String tapToRunRoutine = 'Tap to run automation';
|
||||||
static const String wizard = 'Wizard';
|
static const String wizard = 'Wizard';
|
||||||
static const String active = 'Active';
|
static const String active = 'Active';
|
||||||
static const String current = 'Current';
|
static const String current = 'Current';
|
||||||
@ -39,6 +39,6 @@ class StringsManager {
|
|||||||
'Example: when an unusual activity is detected.';
|
'Example: when an unusual activity is detected.';
|
||||||
static const String functions = "Functions";
|
static const String functions = "Functions";
|
||||||
static const String firstLaunch = "firstLaunch";
|
static const String firstLaunch = "firstLaunch";
|
||||||
static const String deleteScene = 'Remove Routine';
|
static const String deleteScene = 'Remove Automation';
|
||||||
static const String deleteAutomation = 'Delete Automation';
|
static const String deleteAutomation = 'Delete Automation';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user