Skip to content

Executing create command always updates storyboard #80

@ujas-m-simformsolutions

Description

@ujas-m-simformsolutions

Describe the bug
Running the command dart run splash_master create always updates the LaunchScreen.storyboard file by adding duplicate entries. After running the command multiple times, these duplicate nodes accumulate and cause the storyboard to become invalid.

To Reproduce
Steps to reproduce the behavior:

  1. Run dart run splash_master create
  2. Run the same command again
  3. Open and inspect the LaunchScreen.storyboard file
  4. Notice that duplicate entries have been added

Expected behavior
The command should check whether the corresponding fields or nodes already exist in the storyboard.
If an entry exists, it should be replaced or updated, It should not append a new duplicate entry. This ensures the storyboard remains valid even when the command is executed multiple times.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions