Skip to content

Commit 7afae50

Browse files
authored
feat: Increase folder imbrication and reduce folder indent (#2731)
2 parents f524170 + 5486b44 commit 7afae50

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/src/main/java/com/infomaniak/mail/ui/main/menuDrawer/items/FolderViewHolder.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,6 @@ class FolderViewHolder(
138138
)
139139

140140
companion object {
141-
const val MAX_SUB_FOLDERS_INDENT = 2
141+
const val MAX_SUB_FOLDERS_INDENT = 4
142142
}
143143
}

app/src/main/java/com/infomaniak/mail/views/itemViews/IndentableFolder.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ interface IndentableFolder {
5555
}
5656
}
5757

58-
private fun computeIndent(indent: Int) = binding.context.resources.getDimension(RCore.dimen.marginStandard).toInt() * indent
58+
private fun computeIndent(indent: Int) = binding.context.resources.getDimension(RCore.dimen.marginStandardMedium).toInt() * indent
5959
}

0 commit comments

Comments
 (0)