Skip to content

Commit 4a08a57

Browse files
committed
- Set isShowingSearch to true inside ChannelsScreen because we changed the default implementation to false somewhere down the line
1 parent b5c8128 commit 4a08a57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/com/example/chattutorial/MainActivity.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ class MainActivity : ComponentActivity() {
5151
ChatTheme {
5252
ChannelsScreen(
5353
title = stringResource(id = R.string.app_name),
54+
isShowingSearch = true,
5455
onItemClick = { channel ->
5556
startActivity(MessagesActivity4.getIntent(this, channel.cid))
5657
},

0 commit comments

Comments
 (0)