mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-26 17:52:29 +01:00
Adds a destroy method to FollowList state for consistency
This commit is contained in:
parent
6acd3ca091
commit
eda5bc50e6
@ -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 {
|
||||
|
@ -104,6 +104,6 @@ class AccountFeedContentStates(
|
||||
notifications.destroy()
|
||||
notificationSummary.destroy()
|
||||
|
||||
// feedListOptions.destroy()
|
||||
feedListOptions.destroy()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user