Skip to content

Commit

Permalink
Icon changed for gemini tab
Browse files Browse the repository at this point in the history
  • Loading branch information
v-shahzadahmad committed Sep 25, 2024
1 parent 988bf8d commit b2cba1d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion composeApp/src/commonMain/kotlin/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import androidx.compose.runtime.*
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.ImageBitmap
import androidx.lifecycle.viewmodel.compose.viewModel
import cafe.adriel.voyager.navigator.LocalNavigator
import cafe.adriel.voyager.navigator.currentOrThrow
import cafe.adriel.voyager.navigator.tab.CurrentTab
Expand Down
3 changes: 2 additions & 1 deletion composeApp/src/commonMain/kotlin/ui/screen/GeminiTab.kt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ import theme.PrimaryColor
import theme.TextColor
import toComposeImageBitmap
import travelbuddy.composeapp.generated.resources.Res
import travelbuddy.composeapp.generated.resources.chat_bot
import travelbuddy.composeapp.generated.resources.gemini
import travelbuddy.composeapp.generated.resources.menu_profile
import travelbuddy.composeapp.generated.resources.profile_tab
Expand All @@ -76,7 +77,7 @@ import util.BOTTOM_NAV_SPACE

data object GeminiTab : Tabx {
override fun defaultTitle(): StringResource = Res.string.profile_tab
override fun defaultIcon(): DrawableResource = Res.drawable.menu_profile
override fun defaultIcon(): DrawableResource = Res.drawable.chat_bot

override val options: TabOptions
@Composable
Expand Down

0 comments on commit b2cba1d

Please sign in to comment.