From e9a5c4d3df1d3abdd8694d73c8baa5398f347b75 Mon Sep 17 00:00:00 2001 From: Veyndan Stuart Date: Mon, 11 Sep 2023 14:21:18 +0200 Subject: [PATCH] Make `TreehouseView` implement `RedwoodView` (#1469) --- .../kotlin/app/cash/redwood/treehouse/TreehouseView.kt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/redwood-treehouse-host/src/commonMain/kotlin/app/cash/redwood/treehouse/TreehouseView.kt b/redwood-treehouse-host/src/commonMain/kotlin/app/cash/redwood/treehouse/TreehouseView.kt index 453bf3f45a..8b7934727c 100644 --- a/redwood-treehouse-host/src/commonMain/kotlin/app/cash/redwood/treehouse/TreehouseView.kt +++ b/redwood-treehouse-host/src/commonMain/kotlin/app/cash/redwood/treehouse/TreehouseView.kt @@ -17,16 +17,12 @@ package app.cash.redwood.treehouse import app.cash.redwood.protocol.widget.ProtocolMismatchHandler import app.cash.redwood.protocol.widget.ProtocolNode -import app.cash.redwood.ui.UiConfiguration -import app.cash.redwood.widget.Widget +import app.cash.redwood.widget.RedwoodView import kotlin.native.ObjCName -import kotlinx.coroutines.flow.StateFlow import kotlinx.serialization.json.Json @ObjCName("TreehouseView", exact = true) -public interface TreehouseView { - public val children: Widget.Children - public val uiConfiguration: StateFlow +public interface TreehouseView : RedwoodView { public val widgetSystem: WidgetSystem public val readyForContent: Boolean public var readyForContentChangeListener: ReadyForContentChangeListener?