You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/src/main/java/com/example/util/simpletimetracker/core/delegates/iconSelection/mapper/IconSelectionMapper.kt
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,8 @@ class IconSelectionMapper @Inject constructor(
102
102
103
103
val iconsViewData = categoryImages.mapNotNull {
104
104
if (isSearching) {
105
-
if (!containsSearch(actualSearch, it.iconName, it.iconSearch)) {
105
+
val iconName = it.iconName.prepareIconName()
106
+
if (!containsSearch(actualSearch, iconName, it.iconSearch)) {
106
107
return@mapNotNull null
107
108
}
108
109
}
@@ -300,4 +301,8 @@ class IconSelectionMapper @Inject constructor(
0 commit comments