Skip to content

Commit

Permalink
Deleted settings from nav bar [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbyESP committed Nov 19, 2022
1 parent 1e9ae4d commit 25fd511
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class MainActivity : ComponentActivity() {
*/
navController.addOnDestinationChangedListener { _, destination, _ ->
visible.value =
destination.route in listOf(Route.HOME, Route.SETTINGS, Route.SEARCHER_PAGE)
destination.route in listOf(Route.HOME, /*Route.SETTINGS,*/ Route.SEARCHER_PAGE)
}
SettingsProvider(windowSizeClass.widthSizeClass) {
SpowloTheme(
Expand All @@ -95,11 +95,11 @@ class MainActivity : ComponentActivity() {
icon = Icons.Filled.Home,
route = Route.HOME
),
NavBarItem(
/*NavBarItem(
name = stringResource(id = R.string.settings),
icon = Icons.Filled.Settings,
route = Route.SETTINGS,
),
),*/
NavBarItem(
name = stringResource(id = R.string.searcher),
icon = Icons.Filled.Search,
Expand Down

0 comments on commit 25fd511

Please sign in to comment.