Skip to content

Instantly share code, notes, and snippets.

@walnashgit
Created May 8, 2021 06:31
Show Gist options
  • Save walnashgit/c74d1842878482b4c07cc40570413a03 to your computer and use it in GitHub Desktop.
Save walnashgit/c74d1842878482b4c07cc40570413a03 to your computer and use it in GitHub Desktop.
if (scaffoldState.drawerState.isOpen) {
BackPressHandler {
scope.launch {
scaffoldState.drawerState.close()
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment