diff --git a/networksurvey/src/main/java/com/craxiom/networksurvey/ui/main/appdrawer/AppDrawerContent.kt b/networksurvey/src/main/java/com/craxiom/networksurvey/ui/main/appdrawer/AppDrawerContent.kt index 34dcb3bc..e5b9ce9b 100644 --- a/networksurvey/src/main/java/com/craxiom/networksurvey/ui/main/appdrawer/AppDrawerContent.kt +++ b/networksurvey/src/main/java/com/craxiom/networksurvey/ui/main/appdrawer/AppDrawerContent.kt @@ -71,13 +71,6 @@ fun > AppDrawerContent( ) { items(menuItems) { item -> AppDrawerItem(item = item) { navOption -> - if (currentPick == navOption) { - coroutineScope.launch { - drawerState.close() - } - return@AppDrawerItem - } - currentPick = navOption coroutineScope.launch { drawerState.close() @@ -93,13 +86,6 @@ fun > AppDrawerContent( items(externalLinks) { item -> AppDrawerItem(item = item) { navOption -> - if (currentPick == navOption) { - coroutineScope.launch { - drawerState.close() - } - return@AppDrawerItem - } - currentPick = navOption coroutineScope.launch { drawerState.close()