Skip to content

Commit

Permalink
Improve docs and clean up code.
Browse files Browse the repository at this point in the history
  • Loading branch information
MykytaPimonovTD committed Dec 13, 2024
1 parent 6f99f1e commit 901f4d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ private fun ToolBar(
}

/**
* Displays the menu of the mentions page.
* Displays the menu of the Mentions page.
*
* @param flow The flow for managing the lifecycle of mentions.
* @param toSettingsPage The navigation to the 'Settings' page.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ import kotlinx.coroutines.delay
import kotlinx.coroutines.launch

/**
* Displays an icon button that displays the menu when clicked.
* Displays an icon button and opens a menu when the button is clicked.
*
* The menu is located at the bottom of the icon, shifting to the left.
*
Expand Down Expand Up @@ -118,9 +118,10 @@ internal fun Menu(
delay(200.milliseconds)
isTogglingAllowed = true
}
},
content = { MenuContent(scope, items) }
)
}
) {
MenuContent(scope, items)
}
}
}
}
Expand Down

0 comments on commit 901f4d2

Please sign in to comment.