From 8ac6147302c7c07374dc8815ea3275e69ded5b20 Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Tue, 24 Dec 2024 02:04:28 -0600 Subject: [PATCH] Map missing icon --- icons/README.md | 8 ++++++++ .../kotlin/org/tasks/icons/OutlinedGoogleMaterial2.kt | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/icons/README.md b/icons/README.md index ab3457f38..ec46b24d0 100644 --- a/icons/README.md +++ b/icons/README.md @@ -2,6 +2,14 @@ This icon library is used by the widget Generated with https://github.com/Nek-12/MaterialSymbolsToFont + +icon metadata pulled from https://fonts.google.com/metadata/icons +`jq -c . < kmp/src/commonMain/composeResources/files/icons.json | sponge kmp/src/commonMain/composeResources/files/icons.json` + +``` +npm install -g fantasticon +``` + ``` Fill? (y/n): n Mode? (outlined/rounded/sharp): outlined diff --git a/icons/src/main/kotlin/org/tasks/icons/OutlinedGoogleMaterial2.kt b/icons/src/main/kotlin/org/tasks/icons/OutlinedGoogleMaterial2.kt index 131e28ab8..58af7ddd1 100644 --- a/icons/src/main/kotlin/org/tasks/icons/OutlinedGoogleMaterial2.kt +++ b/icons/src/main/kotlin/org/tasks/icons/OutlinedGoogleMaterial2.kt @@ -252,7 +252,9 @@ object OutlinedGoogleMaterial2 : ITypeface { gmo_zoom_in('\uf106'), gmo_zoom_in_map('\uf105'), gmo_zoom_out('\uf104'), - gmo_zoom_out_map('\uf103'); + gmo_zoom_out_map('\uf103'), + gmo_local_grocery_store('\uf3e2'), // mapped to 'gmo_shopping_cart' + ; override val typeface: ITypeface by lazy { OutlinedGoogleMaterial2 } }