File tree 1 file changed +3
-3
lines changed
app/src/main/java/com/infomaniak/mail/ui/main/thread
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -199,17 +199,17 @@ class ThreadFragment : Fragment() {
199
199
private fun updateStatusBarColor () {
200
200
201
201
val statusBarColor = when {
202
- twoPaneViewModel.isInThreadInPhoneMode(requireContext()) -> {
202
+ twoPaneViewModel.isInThreadInPhoneMode(requireContext()) -> { // Phone mode in Thread
203
203
if (binding.messagesListNestedScrollView.isAtTheTop()) {
204
204
R .color.toolbarLoweredColor
205
205
} else {
206
206
R .color.toolbarElevatedColor
207
207
}
208
208
}
209
- twoPaneFragment is ThreadListFragment -> {
209
+ twoPaneFragment is ThreadListFragment -> { // Tablet mode in ThreadList
210
210
R .color.backgroundHeaderColor
211
211
}
212
- else -> {
212
+ else -> { // Tablet mode in Search
213
213
R .color.backgroundColor
214
214
}
215
215
}
You can’t perform that action at this time.
0 commit comments