mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-23 09:17:56 +00:00
fix setting icon appearance
This commit is contained in:
@@ -44,8 +44,11 @@ class SceneTasksView extends StatelessWidget {
|
||||
Icons.arrow_back_ios,
|
||||
)),
|
||||
actions: [
|
||||
Visibility(
|
||||
visible: sceneSettings.sceneType.isNotEmpty,
|
||||
BlocBuilder<CreateSceneBloc, CreateSceneState>(
|
||||
builder: (context, state) {
|
||||
final sceneType = context.read<CreateSceneBloc>().sceneType;
|
||||
return Visibility(
|
||||
visible: sceneType != CreateSceneEnum.none,
|
||||
child: SizedBox(
|
||||
width: 40,
|
||||
child: GestureDetector(
|
||||
@@ -69,6 +72,8 @@ class SceneTasksView extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
},
|
||||
),
|
||||
],
|
||||
child: Stack(
|
||||
|
||||
Reference in New Issue
Block a user