Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skorulis-ap committed Dec 13, 2022
1 parent 03980a2 commit fc77738
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,18 @@ package app.cash.zipline.samples.emojisearch

import app.cash.redwood.LayoutModifier
import app.cash.redwood.layout.uiview.UIViewRedwoodLayoutWidgetFactory
import app.cash.redwood.layout.widget.RedwoodLayoutWidgetFactory
import app.cash.redwood.treehouse.TreehouseSwiftUIView
import app.cash.redwood.treehouse.TreehouseUIKitView
import app.cash.redwood.treehouse.TreehouseView
import app.cash.redwood.treehouse.TreehouseSwiftUIView
import app.cash.redwood.widget.SwiftUIView
import app.cash.redwood.widget.SwiftUIChildren
import app.cash.redwood.treehouse.lazylayout.uiview.UIViewRedwoodTreehouseLazyLayoutWidgetFactory
import app.cash.redwood.widget.SwiftUIChildren
import app.cash.redwood.widget.SwiftUIView
import example.schema.widget.EmojiSearchDiffConsumingNodeFactory
import example.schema.widget.EmojiSearchWidgetFactory
import okio.ByteString
import okio.toByteString
import platform.Foundation.NSData
import app.cash.redwood.layout.widget.RedwoodLayoutWidgetFactory
import kotlinx.coroutines.flow.StateFlow
import app.cash.redwood.treehouse.HostConfiguration

// Used to export types to Objective-C / Swift.
fun exposedTypes(
Expand All @@ -47,7 +45,7 @@ fun exposedTypes(
treehouseSwiftUIView: TreehouseSwiftUIView<*>,
layoutWidgetFactory: RedwoodLayoutWidgetFactory<*>,
swiftUIView: SwiftUIView,
swiftUIChildren: SwiftUIChildren
swiftUIChildren: SwiftUIChildren,
) {
throw AssertionError()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ final class ColumnBinding: BaseWidget, WidgetColumn, SwiftUIViewBinding {

}


struct ColumnView: View {

@ObservedObject var binding: ColumnBinding
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ struct LazyColumnView: View {
}
.id(binding.randomID)
}

}

struct LazyCell: View {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ final class TextInputBinding: BaseWidget, WidgetTextInput, SwiftUIViewBinding {
}
}
}

}

struct TextInputView: View {
Expand Down

0 comments on commit fc77738

Please sign in to comment.