diff --git a/app/src/main/java/com/ti/mobpo/ui/Navigation.kt b/app/src/main/java/com/ti/mobpo/ui/Navigation.kt index af60fa4..af1b488 100644 --- a/app/src/main/java/com/ti/mobpo/ui/Navigation.kt +++ b/app/src/main/java/com/ti/mobpo/ui/Navigation.kt @@ -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() - } } } ) diff --git a/app/src/main/java/com/ti/mobpo/ui/screens/Profile.kt b/app/src/main/java/com/ti/mobpo/ui/screens/Profile.kt deleted file mode 100644 index cf3f3b8..0000000 --- a/app/src/main/java/com/ti/mobpo/ui/screens/Profile.kt +++ /dev/null @@ -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") -} \ No newline at end of file