Exclude tags in clock widget favorites part
This commit is contained in:
+5
-3
@@ -47,9 +47,11 @@ class FavoritesPartProvider : PartProvider, KoinComponent {
|
||||
|
||||
val favorites by remember(columns, excludeCalendar, layout) {
|
||||
favoritesRepository.getFavorites(
|
||||
columns = columns,
|
||||
maxRows = 1,
|
||||
excludeCalendarEvents = excludeCalendar
|
||||
excludeTypes = if (excludeCalendar) listOf("calendar", "tag") else listOf("tag"),
|
||||
manuallySorted = true,
|
||||
automaticallySorted = true,
|
||||
frequentlyUsed = true,
|
||||
limit = columns
|
||||
)
|
||||
}.collectAsState(emptyList())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user