Profile page is not needed for our purpose
This commit is contained in:
		@@ -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()
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            )
 | 
			
		||||
 
 | 
			
		||||
@@ -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")
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user