-
-
Save skydoves/4218cb2e6e85f7eeb7ca12ddde10f3c5 to your computer and use it in GitHub Desktop.
window_message_screen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MessagingScreen(windowSize = rememberWindowSizeClass()) | |
// Draws different UIs depending on the WindowSize. | |
@Composable | |
fun MessagingScreen(windowSize: WindowSize) { | |
when (windowSize) { | |
is WindowSize.Expanded -> MessagingScreenExpanded(windowSize) | |
else -> MessagingScreenRegular() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment