Profile page is not needed for our purpose

This commit is contained in:
Joren 2024-04-29 20:31:40 +02:00
parent b9ca44892b
commit 4c5170d000
Signed by untrusted user who does not match committer: Joren
GPG Key ID: 280E33DFBC0F1B55
2 changed files with 1 additions and 22 deletions

View File

@ -34,8 +34,6 @@ import androidx.navigation.compose.currentBackStackEntryAsState
import androidx.navigation.compose.rememberNavController
import com.ti.mobpo.ui.screens.Favourites
import com.ti.mobpo.ui.screens.PokeSearchScreen
import com.ti.mobpo.ui.screens.Profile
@Composable
fun Navigation() {
@ -51,13 +49,7 @@ fun Navigation() {
selectedIcon = Icons.Filled.Favorite,
unselectedItem = Icons.Outlined.FavoriteBorder,
route = Screen.Favourites.route
),
BottomNavigationItem(
title = "Profile",
selectedIcon = Icons.Filled.Person,
unselectedItem = Icons.Outlined.Person,
route = Screen.Profile.route
),
)
)
var selectedItemIndex by rememberSaveable {
@ -121,10 +113,6 @@ fun Navigation() {
route = Screen.Favourites.route) {
Favourites()
}
composable(
route = Screen.Profile.route) {
Profile()
}
}
}
)

View File

@ -1,9 +0,0 @@
package com.ti.mobpo.ui.screens
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
@Composable
fun Profile(){
Text("Profile Page")
}