Skip to content

Commit 29625de

Browse files
Fix colors.xml creation for dark mode by adding recursive directory creation
Co-authored-by: ujas-m-simformsolutions <76939001+ujas-m-simformsolutions@users.noreply.github.com>
1 parent c27d9e9 commit 29625de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cmd/android_splash.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ Future<void> createColors({
210210
await xmlFile.writeAsString(updatedXmlString);
211211
} else {
212212
/// If `colors.xml` file is not there, then create one
213-
final xml = await xmlFile.create();
213+
final xml = await xmlFile.create(recursive: true);
214214
final builder = XmlBuilder();
215215
builder.processing(AndroidStrings.xml, AndroidStrings.xmlVersion);
216216

0 commit comments

Comments
 (0)