File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -187,10 +187,10 @@ fun HomeScreen(
187187 },
188188 navigationIcon = {
189189 IconButton (onClick = { coroutineScope.launch { openDrawer() } }) {
190- Image (
190+ Icon (
191191 painter = painterResource(R .drawable.ic_jetnews_logo),
192192 contentDescription = stringResource(R .string.cd_open_navigation_drawer),
193- colorFilter = ColorFilter .tint (MaterialTheme .colors.primary)
193+ tint = (MaterialTheme .colors.primary)
194194 )
195195 }
196196 },
@@ -308,7 +308,7 @@ private fun HomeScreenErrorAndContent(
308308@Composable
309309private fun PostList (
310310 posts : List <Post >,
311- state : LazyListState ,
311+ state : LazyListState = rememberLazyListState() ,
312312 navigateToArticle : (postId: String ) -> Unit ,
313313 favorites : Set <String >,
314314 onToggleFavorite : (String ) -> Unit ,
File renamed without changes.
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
12<!--
23 Copyright 2020 The Android Open Source Project
34
You can’t perform that action at this time.
0 commit comments