File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/src/main/java/org/schabi/newpipe/ui/components/menu Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ fun LongPressMenu(
132132 val minButtonWidth = 86 .dp
133133 val buttonHeight = 86 .dp
134134 val headerWidthInButtons = 5 // the header is 5 times as wide as the buttons
135- val buttonsPerRow = (maxWidth / minButtonWidth).toInt()
135+ val buttonsPerRow = (this . maxWidth / minButtonWidth).toInt()
136136
137137 // the channel icon goes in the menu header, so do not show a button for it
138138 val actions = longPressActions.toMutableList()
@@ -476,8 +476,8 @@ fun LongPressMenuButton(
476476 icon : ImageVector ,
477477 text : String ,
478478 onClick : () -> Unit ,
479- enabled : Boolean = true,
480479 modifier : Modifier = Modifier ,
480+ enabled : Boolean = true,
481481) {
482482 // TODO possibly make it so that when you long-press on the button, the label appears on-screen
483483 // as a small popup, so in case the label text is cut off the users can still read it in full
You can’t perform that action at this time.
0 commit comments