diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/AccountFeedContentStates.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/AccountFeedContentStates.kt index e6efff11c0..525f56eacc 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/AccountFeedContentStates.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/AccountFeedContentStates.kt @@ -200,6 +200,9 @@ class AccountFeedContentStates( longsFeed.updateFeedWith(newNotes) articlesFeed.updateFeedWith(newNotes) + calendarAppointmentsFeed.updateFeedWith(newNotes) + calendarCollectionsFeed.updateFeedWith(newNotes) + notifications.updateFeedWith(newNotes) if (account.settings.splitNotificationsEnabled.value) { notificationsFollowing.updateFeedWith(newNotes) @@ -252,6 +255,9 @@ class AccountFeedContentStates( longsFeed.deleteFromFeed(newNotes) articlesFeed.deleteFromFeed(newNotes) + calendarAppointmentsFeed.deleteFromFeed(newNotes) + calendarCollectionsFeed.deleteFromFeed(newNotes) + notifications.deleteFromFeed(newNotes) if (account.settings.splitNotificationsEnabled.value) { notificationsFollowing.deleteFromFeed(newNotes) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/calendars/CalendarCollectionsTopBar.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/calendars/CalendarCollectionsTopBar.kt index 6a69b92145..e34b97aa9e 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/calendars/CalendarCollectionsTopBar.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/calendars/CalendarCollectionsTopBar.kt @@ -20,11 +20,8 @@ */ package com.vitorpamplona.amethyst.ui.screen.loggedIn.calendars -import androidx.compose.material3.MaterialTheme -import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue -import androidx.compose.ui.text.font.FontWeight import androidx.lifecycle.compose.collectAsStateWithLifecycle import com.vitorpamplona.amethyst.R import com.vitorpamplona.amethyst.model.TopFilter @@ -63,15 +60,6 @@ private fun CalendarCollectionsTopNavFilterBar( ) { val allLists by followListsModel.kind3GlobalPeopleRoutes.collectAsStateWithLifecycle() - // We could reuse CalendarsTopNavFilterBar verbatim, but the screen title isn't shown by - // UserDrawerSearchTopBar's content slot — wrapping the spinner with the route title keeps - // the user oriented inside an otherwise filter-only header. - Text( - text = stringRes(R.string.route_calendar_collections), - style = MaterialTheme.typography.labelMedium, - color = MaterialTheme.colorScheme.onSurfaceVariant, - fontWeight = FontWeight.SemiBold, - ) FeedFilterSpinner( placeholderCode = listName, explainer = stringRes(R.string.select_list_to_filter),