mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-27 20:14:54 +00:00
push settings visiblitty
This commit is contained in:
@ -37,25 +37,28 @@ class SceneTasksView extends StatelessWidget {
|
||||
: StringsManager.createScene,
|
||||
padding: EdgeInsets.zero,
|
||||
actions: [
|
||||
SizedBox(
|
||||
width: 40,
|
||||
child: GestureDetector(
|
||||
onTap: () {
|
||||
Navigator.pushNamed(
|
||||
context,
|
||||
Routes.sceneAutoSettingsRoute,
|
||||
arguments: {
|
||||
"sceneId": sceneSettings.sceneId,
|
||||
"isAutomation": isAutomation,
|
||||
"sceneName": sceneSettings.sceneName,
|
||||
},
|
||||
);
|
||||
},
|
||||
child: SvgPicture.asset(
|
||||
Assets.assetsIconsSettings,
|
||||
colorFilter: const ColorFilter.mode(
|
||||
ColorsManager.textPrimaryColor,
|
||||
BlendMode.srcIn,
|
||||
Visibility(
|
||||
visible: sceneSettings.sceneType != CreateSceneEnum.none.name,
|
||||
child: SizedBox(
|
||||
width: 40,
|
||||
child: GestureDetector(
|
||||
onTap: () {
|
||||
Navigator.pushNamed(
|
||||
context,
|
||||
Routes.sceneAutoSettingsRoute,
|
||||
arguments: {
|
||||
"sceneId": sceneSettings.sceneId,
|
||||
"isAutomation": isAutomation,
|
||||
"sceneName": sceneSettings.sceneName,
|
||||
},
|
||||
);
|
||||
},
|
||||
child: SvgPicture.asset(
|
||||
Assets.assetsIconsSettings,
|
||||
colorFilter: const ColorFilter.mode(
|
||||
ColorsManager.textPrimaryColor,
|
||||
BlendMode.srcIn,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user