Skip to content

Commit c05fecd

Browse files
committed
use new icons in bottom navigation (JetBrains#151)
1 parent e6c5100 commit c05fecd

File tree

1 file changed

+6
-6
lines changed
  • shared/src/mobileMain/kotlin/org/jetbrains/kotlinconf/ui

1 file changed

+6
-6
lines changed

shared/src/mobileMain/kotlin/org/jetbrains/kotlinconf/ui/MainScreen.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ import androidx.compose.runtime.mutableStateOf
88
import androidx.compose.runtime.remember
99
import androidx.compose.runtime.setValue
1010
import androidx.navigation.compose.rememberNavController
11+
import kotlinconfapp.shared.generated.resources.*
1112
import kotlinconfapp.shared.generated.resources.Res
1213
import kotlinconfapp.shared.generated.resources.location
1314
import kotlinconfapp.shared.generated.resources.location_active
1415
import kotlinconfapp.shared.generated.resources.menu
1516
import kotlinconfapp.shared.generated.resources.menu_active
16-
import kotlinconfapp.shared.generated.resources.mytalks
1717
import kotlinconfapp.shared.generated.resources.mytalks_active
1818
import kotlinconfapp.shared.generated.resources.speakers
1919
import kotlinconfapp.shared.generated.resources.speakers_active
@@ -54,19 +54,19 @@ fun MainScreen(service: ConferenceService) {
5454
TabsView(
5555
controller,
5656
navigator,
57-
TabItem("menu", Res.drawable.menu, Res.drawable.menu_active) {
57+
TabItem("menu", Res.drawable.info_28, Res.drawable.info_28_fill) {
5858
MenuScreen(controller)
5959
},
60-
TabItem("agenda", Res.drawable.time, Res.drawable.time_active) {
60+
TabItem("agenda", Res.drawable.clock_28, Res.drawable.clock_28_fill) {
6161
AgendaScreen(agenda, agendaScrollState, controller)
6262
},
6363
TabItem(
64-
"speakers", Res.drawable.speakers, Res.drawable.speakers_active
64+
"speakers", Res.drawable.team_28, Res.drawable.team_28_fill
6565
) {
6666
SpeakersScreen(speakers.all, speakersScrollState, controller)
6767
},
6868
TabItem(
69-
"bookmarks", Res.drawable.mytalks, Res.drawable.mytalks_active
69+
"bookmarks", Res.drawable.bookmark_28, Res.drawable.bookmark_28_fill
7070
) {
7171
val favoriteSessions = agenda.days.flatMap { it.timeSlots.flatMap { it.sessions } }
7272
.filter { it.isFavorite }.map {
@@ -81,7 +81,7 @@ fun MainScreen(service: ConferenceService) {
8181
BookmarksScreen(favoriteSessions, controller)
8282
},
8383
TabItem(
84-
"location", Res.drawable.location, Res.drawable.location_active
84+
"location", Res.drawable.location_28, Res.drawable.location_28_fill
8585
) {
8686
LocationScreen()
8787
},

0 commit comments

Comments
 (0)