We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fa7e09 commit dfba526Copy full SHA for dfba526
app/src/main/java/com/infomaniak/mail/ui/main/search/SearchFragment.kt
@@ -136,9 +136,9 @@ class SearchFragment : TwoPaneFragment() {
136
}
137
138
139
- private fun setupAdapter() {
140
- threadListAdapter(folderRole = null)
141
- threadListAdapter.setFolderNameVisibility(true)
+ private fun setupAdapter() = with(threadListAdapter) {
+ this(folderRole = null)
+ setFolderNameVisibility(true)
142
143
144
private fun setupListeners() = with(binding) {
0 commit comments