Skip to content

Commit aca88aa

Browse files
committed
fix #177
1 parent 5ffef99 commit aca88aa

File tree

1 file changed

+1
-1
lines changed
  • app/src/main/java/com/raival/compose/file/explorer/screen/main/tab/files/ui

1 file changed

+1
-1
lines changed

app/src/main/java/com/raival/compose/file/explorer/screen/main/tab/files/ui/CategoriesRow.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fun CategoriesRow(tab: FilesTab) {
2222
var selectedIndex by remember {
2323
mutableIntStateOf(
2424
tab.selectedCategory?.let {
25-
tab.categories.indexOf(it)
25+
tab.categories.indexOf(it) + 1
2626
} ?: 0
2727
)
2828
}

0 commit comments

Comments
 (0)