build-logic: rewrite everything to use full Gradle plugins

This commit is contained in:
Harsh Shandilya 2022-06-10 13:18:52 +05:30
parent 49863d4138
commit 29d63a879e
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
29 changed files with 415 additions and 301 deletions

View file

@ -89,17 +89,23 @@ fun LobstersApp(
label = "Hottest",
route = Destinations.Hottest.getRoute(),
icon = ClawIcons.Flame,
) { coroutineScope.launch { hottestListState.animateScrollToItem(index = 0) } },
) {
coroutineScope.launch { hottestListState.animateScrollToItem(index = 0) }
},
NavigationItem(
label = "Newest",
route = Destinations.Newest.getRoute(),
icon = ClawIcons.New,
) { coroutineScope.launch { newestListState.animateScrollToItem(index = 0) } },
) {
coroutineScope.launch { newestListState.animateScrollToItem(index = 0) }
},
NavigationItem(
label = "Saved",
route = Destinations.Saved.getRoute(),
icon = ClawIcons.HeartBorder,
) { coroutineScope.launch { savedListState.animateScrollToItem(index = 0) } },
) {
coroutineScope.launch { savedListState.animateScrollToItem(index = 0) }
},
)
SideEffect { systemUiController.setStatusBarColor(color = systemBarsColor) }