Entirely remove apps from favorites when their activity cannot be launched
This commit is contained in:
@@ -68,7 +68,7 @@ abstract class SearchableItemVM(
|
||||
favoritesRepository.incrementLaunchCounter(searchable)
|
||||
return true
|
||||
} else if (searchable is Application) {
|
||||
favoritesRepository.unpinItem(searchable)
|
||||
favoritesRepository.remove(searchable)
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user