From c88a55083d0164f6e02399408542b52fbca7c8b2 Mon Sep 17 00:00:00 2001 From: Luke Walton Date: Tue, 22 Oct 2024 09:36:47 +0100 Subject: [PATCH] chore: Refactor android to remove 24 from file name and create code in formatted state (#44) Co-authored-by: github-actions --- .../fetch-icons/generators/generateAndroidIcons.ts | 2 +- .../fetch-icons/templates/android-icon.xml.template | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/scripts/fetch-icons/generators/generateAndroidIcons.ts b/scripts/fetch-icons/generators/generateAndroidIcons.ts index 59cd9156..3f69e421 100644 --- a/scripts/fetch-icons/generators/generateAndroidIcons.ts +++ b/scripts/fetch-icons/generators/generateAndroidIcons.ts @@ -29,7 +29,7 @@ export const generateAndroidIcons = (outputDir: string, iconManifest: IconManife * @param iconName The name of the icon. * @returns The file name for the Android icon. */ -export const getAndroidIconFileName = (iconName: string) => `ic_${toSnakeCase(iconName)}_24.xml`; +export const getAndroidIconFileName = (iconName: string) => `ic_${toSnakeCase(iconName)}.xml`; /** * Creates the contents of an xml file for an Android icon. diff --git a/scripts/fetch-icons/templates/android-icon.xml.template b/scripts/fetch-icons/templates/android-icon.xml.template index 4bcc3b46..af94517f 100644 --- a/scripts/fetch-icons/templates/android-icon.xml.template +++ b/scripts/fetch-icons/templates/android-icon.xml.template @@ -1,5 +1,9 @@ - - + + \ No newline at end of file