mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 08:17:04 +05:30
build-logic: rewrite everything to use full Gradle plugins
This commit is contained in:
parent
49863d4138
commit
29d63a879e
29 changed files with 415 additions and 301 deletions
|
@ -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) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue