commit last changes

This commit is contained in:
ashrafzarkanisala
2024-07-01 22:31:50 +03:00
parent bf05f94586
commit 75fe80e72a
7 changed files with 60 additions and 53 deletions

View File

@ -122,7 +122,7 @@ class _CreateSceneSaveButtonState extends State<CreateSceneSaveButton>
),
isLoading: state is CreateSceneLoading,
child: BodyLarge(
text: 'Save',
text: widget.sceneName.isNotEmpty ? 'Update' : 'Save',
style: context.bodyLarge.copyWith(color: Colors.white),
),
);