mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-19 23:40:32 +02:00
Adds a destroy method to FollowList state for consistency
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
package com.vitorpamplona.amethyst.ui.screen
|
package com.vitorpamplona.amethyst.ui.screen
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
|
import android.util.Log
|
||||||
import androidx.compose.runtime.Immutable
|
import androidx.compose.runtime.Immutable
|
||||||
import androidx.compose.runtime.Stable
|
import androidx.compose.runtime.Stable
|
||||||
import com.vitorpamplona.amethyst.R
|
import com.vitorpamplona.amethyst.R
|
||||||
@@ -186,6 +187,10 @@ class FollowListState(
|
|||||||
|
|
||||||
livePeopleListsFlow.emit(getPeopleLists())
|
livePeopleListsFlow.emit(getPeopleLists())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fun destroy() {
|
||||||
|
Log.d("Init", "OnCleared: ${this.javaClass.simpleName}")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class CodeNameType {
|
enum class CodeNameType {
|
||||||
|
@@ -104,6 +104,6 @@ class AccountFeedContentStates(
|
|||||||
notifications.destroy()
|
notifications.destroy()
|
||||||
notificationSummary.destroy()
|
notificationSummary.destroy()
|
||||||
|
|
||||||
// feedListOptions.destroy()
|
feedListOptions.destroy()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user