From 853691aad1ce895b358d846d62bad4a078d7e950 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 21 Oct 2024 17:42:28 +0100 Subject: [PATCH] chore: Refactor android to remove 24 from file name and create code in formatted state --- .../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