mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
migrate object to data object (#1135)
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ import io.element.android.libraries.matrix.api.core.ThreadId
|
||||
* So we assume if we don't get the same owner, we can skip the onLeaving action as we already replaced it.
|
||||
*/
|
||||
sealed class NavigationState(open val owner: String) {
|
||||
object Root : NavigationState("ROOT")
|
||||
data object Root : NavigationState("ROOT")
|
||||
|
||||
data class Session(
|
||||
override val owner: String,
|
||||
|
||||
Reference in New Issue
Block a user