You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
405 B
15 lines
405 B
2 years ago
|
import androidx.compose.ui.window.ComposeUIViewController
|
||
2 years ago
|
import platform.UIKit.UIViewController
|
||
|
|
||
2 years ago
|
fun ChatViewController(): UIViewController = ComposeUIViewController {
|
||
|
ChatApp(displayTextField = false)
|
||
|
}
|
||
2 years ago
|
|
||
2 years ago
|
fun sendMessage(text: String) {
|
||
|
store.send(Action.SendMessage(Message(myUser, timestampMs(), text)))
|
||
|
}
|
||
|
|
||
|
fun gradient3Colors() = ChatColors.GRADIENT_3
|
||
|
|
||
|
fun surfaceColor() = ChatColors.SURFACE
|