Skip to content

Commit

Permalink
style: fix comment grammar for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
Arian04 committed Aug 13, 2024
1 parent 49017c1 commit 8af7d0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/me/arianb/usb_hid_client/MainScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ private fun MainTopBar() {

val thisScreen = item.first

// Ensure that the Screen we're about to push isn't already in the navigation stack
// iterates in reverse because it's more likely for the duplicate item to be at the end
// Ensure that the Screen we're about to push isn't already in the navigation stack.
// Iterates in reverse because it's more likely for the duplicate item to be at the end.
for (screen in navigator.items.reversed()) {
if (screen::class == thisScreen::class) {
return@DropdownMenuItem
Expand Down

0 comments on commit 8af7d0e

Please sign in to comment.