diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/FollowListState.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/FollowListState.kt index bbbd29cae..4dae43fc6 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/FollowListState.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/FollowListState.kt @@ -21,6 +21,7 @@ package com.vitorpamplona.amethyst.ui.screen import android.content.Context +import android.util.Log import androidx.compose.runtime.Immutable import androidx.compose.runtime.Stable import com.vitorpamplona.amethyst.R @@ -186,6 +187,10 @@ class FollowListState( livePeopleListsFlow.emit(getPeopleLists()) } + + fun destroy() { + Log.d("Init", "OnCleared: ${this.javaClass.simpleName}") + } } enum class CodeNameType { 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 df007692d..91f25c276 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 @@ -104,6 +104,6 @@ class AccountFeedContentStates( notifications.destroy() notificationSummary.destroy() - // feedListOptions.destroy() + feedListOptions.destroy() } }