From 25557579f9f1d2b5053b2cf95c758958952aabc2 Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Thu, 18 Jul 2024 00:03:04 -0500 Subject: [PATCH] Fix crash on invalid icon name --- .../org/tasks/location/LocationPickerAdapter.java | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/org/tasks/location/LocationPickerAdapter.java b/app/src/main/java/org/tasks/location/LocationPickerAdapter.java index e4b02c9a3..0f926707f 100644 --- a/app/src/main/java/org/tasks/location/LocationPickerAdapter.java +++ b/app/src/main/java/org/tasks/location/LocationPickerAdapter.java @@ -16,6 +16,7 @@ import androidx.recyclerview.widget.ListAdapter; import androidx.recyclerview.widget.RecyclerView; import com.mikepenz.iconics.IconicsDrawable; +import com.mikepenz.iconics.typeface.IIcon; import org.tasks.R; import org.tasks.billing.Inventory; @@ -26,6 +27,7 @@ import org.tasks.filters.PlaceFilter; import org.tasks.icons.OutlinedGoogleMaterial; import org.tasks.location.LocationPickerAdapter.PlaceViewHolder; import org.tasks.themes.ColorProvider; +import org.tasks.themes.TasksIcons; import org.tasks.themes.ThemeColor; public class LocationPickerAdapter extends ListAdapter { @@ -109,10 +111,13 @@ public class LocationPickerAdapter extends ListAdapter